示例#1
0
文件: db.go 项目: treescale/treescale
func DumpDBPath(path string) (err tree_lib.TreeError) {
	tree_lib.CopyFile(DB_DIR, path)
	return
}
示例#2
0
文件: db.go 项目: treescale/treescale
func LoadFromDumpPath(path string) (err tree_lib.TreeError) {
	tree_lib.CopyFile(path, DB_DIR)
	return
}