more work done
This commit is contained in:
parent
de359ab415
commit
abc6159044
24 changed files with 309 additions and 230 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue