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

Method CanWriteContent

internal/model/user.go:131–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131func (u *User) CanWriteContent() bool {
132 return CanWriteContent(u.Permission)
133}
134
135func CanRename(permission int32) bool {
136 return (permission>>4)&1 == 1

Callers 9

FsUpFunction · 0.80
handlePutMethod · 0.80
handleMkcolMethod · 0.80
callFSListMethod · 0.80
FsMkdirFunction · 0.80
FsListFunction · 0.80
uploadAuthFunction · 0.80
MkdirFunction · 0.80

Calls 1

CanWriteContentFunction · 0.85

Tested by 1