Example #1
0
func blobToBlocksDB() string {
	return util.ServiceDir(SERVICE_NAME) + "/blob-to-blocks.db"
}
Example #2
0
func blockPath(id BlockID) string {
	dir := util.ServiceDir(SERVICE_NAME) + "/blocks"
	err := util.MakeDir(dir)
	util.Ferr(err)
	return dir + "/" + id.String()
}
Example #3
0
func containersDB() string {
	return util.ServiceDir(SERVICE_NAME) + "/containers.db"
}