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

Method CanReadArchives

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

Source from the content-addressed store, hash-verified

201}
202
203func (u *User) CanReadArchives() bool {
204 return CanReadArchives(u.Permission)
205}
206
207func CanDecompress(permission int32) bool {
208 return (permission>>13)&1 == 1

Callers 2

FsArchiveMetaFunction · 0.80
FsArchiveListFunction · 0.80

Calls 1

CanReadArchivesFunction · 0.85

Tested by

no test coverage detected