MCPcopy Index your code
hub / github.com/AlistGo/alist / CheckPathLimit

Method CheckPathLimit

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

Source from the content-addressed store, hash-verified

143}
144
145func (u *User) CheckPathLimit() bool {
146 return (u.Permission>>14)&1 == 1
147}
148
149func (u *User) CanMCPAccess() bool {
150 return (u.Permission>>15)&1 == 1

Callers 1

JoinPathMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected