MCPcopy 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
151func CanCopy(permission int32) bool {
152 return (permission>>6)&1 == 1
153}
154
155func (u *User) CanCopy() bool {
156 return CanCopy(u.Permission)

Callers 1

CanCopyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected