feat: Add test for Remove
This commit is contained in:
@@ -443,10 +443,6 @@ func (f *STFS) Remove(name string) error {
|
||||
return os.ErrPermission
|
||||
}
|
||||
|
||||
if checkName(name) {
|
||||
return os.ErrInvalid
|
||||
}
|
||||
|
||||
f.ioLock.Lock()
|
||||
defer f.ioLock.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user