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