MCPcopy 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
155func (u *User) CanCopy() bool {
156 return CanCopy(u.Permission)
157}
158
159func CanRemove(permission int32) bool {
160 return (permission>>7)&1 == 1

Callers 2

copyFilesFunction · 0.80
FsCopyFunction · 0.80

Calls 1

CanCopyFunction · 0.85

Tested by

no test coverage detected