remove unused code

This commit is contained in:
Carlosokumu 2024-09-19 17:04:08 +03:00
parent bc9dfe4f65
commit 96358959b4
Signed by untrusted user: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -13,14 +13,6 @@ import (
"git.defalsify.org/vise.git/resource"
)
func ensureDbDir(dbDir string) error {
err := os.MkdirAll(dbDir, 0700)
if err != nil {
return fmt.Errorf("state dir create exited with error: %v\n", err)
}
return nil
}
type StorageService interface {
GetPersister(dbDir string, ctx context.Context) (*persist.Persister, error)
GetUserdataDb(dbDir string, ctx context.Context) db.Db