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

Function formatAttribute

pkg/development/coverage/coverage.go:430–432  ·  view source on GitHub ↗

formatAttribute formats an attribute string

(entityName, attributeName string)

Source from the content-addressed store, hash-verified

428
429// formatAttribute formats an attribute string
430func formatAttribute(entityName, attributeName string) string {
431 return fmt.Sprintf("%s#%s", entityName, attributeName)
432}
433
434// formatAssertion formats an assertion/permission string
435func formatAssertion(entityName, permissionName string) string {

Callers 2

extractAttributesFunction · 0.85
extractCoveredAttributesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected