Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
203
func
(u *User) CanReadArchives() bool {
204
return
CanReadArchives(u.Permission)
205
}
206
207
func
CanDecompress(permission int32) bool {
208
return
(permission>>13)&1 == 1
Callers
2
FsArchiveMeta
Function · 0.80
FsArchiveList
Function · 0.80
Calls
1
CanReadArchives
Function · 0.85
Tested by
no test coverage detected