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

Method CanMove

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

Source from the content-addressed store, hash-verified

145}
146
147func (u *User) CanMove() bool {
148 return CanMove(u.Permission)
149}
150
151func CanCopy(permission int32) bool {
152 return (permission>>6)&1 == 1

Callers 4

moveFilesFunction · 0.80
FsRecursiveMoveFunction · 0.80
FsMoveFunction · 0.80
RenameFunction · 0.80

Calls 1

CanMoveFunction · 0.85

Tested by

no test coverage detected