Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ CanMove
Method
CanMove
internal/model/user.go:147–149 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
145
}
146
147
func
(u *User) CanMove() bool {
148
return
CanMove(u.Permission)
149
}
150
151
func
CanCopy(permission int32) bool {
152
return
(permission>>6)&1 == 1
Callers
4
moveFiles
Function · 0.80
FsRecursiveMove
Function · 0.80
FsMove
Function · 0.80
Rename
Function · 0.80
Calls
1
CanMove
Function · 0.85
Tested by
no test coverage detected