mirror of
https://github.com/simon987/sist2.git
synced 2025-12-16 00:39:04 +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