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

@ -56,7 +56,7 @@ func (fs *Filesystem) Delete(path string) (removed []string, err error) {
if fullpath == fs.Base {
return nil, errors.New("the root path can not be deleted")
}
fi, err := os.Stat(path)
fi, err := os.Stat(fullpath)
if err != nil {
return
}