MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / CanRemove

Method CanRemove

internal/model/user.go:163–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161}
162
163func (u *User) CanRemove() bool {
164 return CanRemove(u.Permission)
165}
166
167func CanWebdavRead(permission int32) bool {
168 return (permission>>8)&1 == 1

Callers 4

handleDeleteMethod · 0.80
FsRemoveFunction · 0.80
FsRemoveEmptyDirectoryFunction · 0.80
RemoveFunction · 0.80

Calls 1

CanRemoveFunction · 0.85

Tested by

no test coverage detected