MCPcopy Create free account
hub / github.com/Permify/permify / emptyResponseMetadata

Function emptyResponseMetadata

internal/engines/check.go:905–909  ·  view source on GitHub ↗

emptyResponseMetadata creates and returns an empty PermissionCheckResponseMetadata. Returns: - A pointer to PermissionCheckResponseMetadata with the CheckCount initialized to 0.

()

Source from the content-addressed store, hash-verified

903// Returns:
904// - A pointer to PermissionCheckResponseMetadata with the CheckCount initialized to 0.
905func emptyResponseMetadata() *base.PermissionCheckResponseMetadata {
906 return &base.PermissionCheckResponseMetadata{
907 CheckCount: 0,
908 }
909}

Callers 9

CheckMethod · 0.85
checkMethod · 0.85
checkDirectRelationMethod · 0.85
checkTupleToUserSetMethod · 0.85
checkDirectAttributeMethod · 0.85
checkDirectCallMethod · 0.85
checkUnionFunction · 0.85
checkIntersectionFunction · 0.85
checkExclusionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected