more work done

This commit is contained in:
ston1th 2019-05-01 22:25:23 +02:00
commit abc6159044
24 changed files with 309 additions and 230 deletions

View file

@ -67,6 +67,9 @@ func (db *DB) MoveFile(op, np string) error {
}
func (db *DB) DeleteFile(path string) (id string, err error) {
if !db.IsIndexed(path) {
return
}
id, err = db.GetID(path)
if err != nil {
return