lib/db, lib/model: Remove dead code (#5517)

This commit is contained in:
Jakob Borg
2019-02-08 16:42:58 +01:00
committed by Simon Frei
parent cb49136269
commit 04fdafa280
2 changed files with 5 additions and 11 deletions

View File

@@ -82,11 +82,6 @@ func OpenMemory() *Lowlevel {
return NewLowlevel(db, "<memory>")
}
// Location returns the filesystem path where the database is stored
func (db *Lowlevel) Location() string {
return db.location
}
// ListFolders returns the list of folders currently in the database
func (db *Lowlevel) ListFolders() []string {
return db.folderIdx.Values()