Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
163
func
(u *User) CanRemove() bool {
164
return
CanRemove(u.Permission)
165
}
166
167
func
CanWebdavRead(permission int32) bool {
168
return
(permission>>8)&1 == 1
Callers
4
handleDelete
Method · 0.80
FsRemove
Function · 0.80
FsRemoveEmptyDirectory
Function · 0.80
Remove
Function · 0.80
Calls
1
CanRemove
Function · 0.85
Tested by
no test coverage detected