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

Function Exclusion

pkg/schema/builder.go:299–308  ·  view source on GitHub ↗

Exclusion - Returns a child element that represents the exclusion of the given children. This child element can be used in defining entity relations and actions.

(children ...*base.Child)

Source from the content-addressed store, hash-verified

297
298// Exclusion - Returns a child element that represents the exclusion of the given children. This child element can be used in defining entity relations and actions.
299func Exclusion(children ...*base.Child) *base.Child {
300 return &base.Child{
301 Type: &base.Child_Rewrite{
302 Rewrite: &base.Rewrite{
303 RewriteOperation: base.Rewrite_OPERATION_EXCLUSION,
304 Children: children,
305 },
306 },
307 }
308}

Callers 1

builder_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected