1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-03 07:36:45 +02:00

same booleans as before

This commit is contained in:
Chris Lu 2020-03-23 01:25:23 -07:00
parent f84c288852
commit cddcb5cafe

View file

@ -244,14 +244,9 @@ func (fs *WebDavFileSystem) removeAll(ctx context.Context, fullFilePath string)
return err
}
fi, err := fs.stat(ctx, fullFilePath)
if err != nil {
return err
}
dir, name := util.FullPath(fullFilePath).DirAndName()
return filer_pb.Remove(fs, dir, name, true, true, true)
return filer_pb.Remove(fs, dir, name, true, false, false)
}