Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenListTeam/OpenList
/ CanCopy
Method
CanCopy
internal/model/user.go:155–157 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
153
}
154
155
func
(u *User) CanCopy() bool {
156
return
CanCopy(u.Permission)
157
}
158
159
func
CanRemove(permission int32) bool {
160
return
(permission>>7)&1 == 1
Callers
2
copyFiles
Function · 0.80
FsCopy
Function · 0.80
Calls
1
CanCopy
Function · 0.85
Tested by
no test coverage detected