Exemple #1
0
func DumpDBPath(path string) (err tree_lib.TreeError) {
	tree_lib.CopyFile(DB_DIR, path)
	return
}
Exemple #2
0
func LoadFromDumpPath(path string) (err tree_lib.TreeError) {
	tree_lib.CopyFile(path, DB_DIR)
	return
}