MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / CanRemove

Function CanRemove

internal/model/user.go:159–161  ·  view source on GitHub ↗
(permission int32)

Source from the content-addressed store, hash-verified

157}
158
159func CanRemove(permission int32) bool {
160 return (permission>>7)&1 == 1
161}
162
163func (u *User) CanRemove() bool {
164 return CanRemove(u.Permission)

Callers 1

CanRemoveMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected