mirror of
https://github.com/sist2app/sist2.git
synced 2026-01-23 19:01:14 +00:00
Fix #76
This commit is contained in:
@@ -143,3 +143,8 @@ GHashTable *store_read_all(store_t *store) {
|
||||
return table;
|
||||
}
|
||||
|
||||
|
||||
void store_copy(store_t *store, const char *destination) {
|
||||
mkdir(destination, S_IWUSR | S_IRUSR | S_IXUSR);
|
||||
mdb_env_copy(store->env, destination);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user