MCPcopy
hub / github.com/OpenListTeam/OpenList / ObjHasMask

Function ObjHasMask

internal/model/obj.go:284–286  ·  view source on GitHub ↗
(obj Obj, mask ObjMask)

Source from the content-addressed store, hash-verified

282}
283
284func ObjHasMask(obj Obj, mask ObjMask) bool {
285 return GetObjMask(obj)&mask != 0
286}

Callers 10

PutMethod · 0.92
RemoveMethod · 0.92
GetFunction · 0.92
MakeDirFunction · 0.92
MoveFunction · 0.92
RenameFunction · 0.92
CopyFunction · 0.92
RemoveFunction · 0.92
PutFunction · 0.92
PutURLFunction · 0.92

Calls 1

GetObjMaskFunction · 0.85

Tested by

no test coverage detected