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

Method WalkComputedUserSet

internal/schema/walker.go:106–111  ·  view source on GitHub ↗

WalkComputedUserSet walk the relation within the ComputedUserSet for the given entityType.

(
	entityType string,
	cu *base.ComputedUserSet,
)

Source from the content-addressed store, hash-verified

104
105// WalkComputedUserSet walk the relation within the ComputedUserSet for the given entityType.
106func (w *Walker) WalkComputedUserSet(
107 entityType string,
108 cu *base.ComputedUserSet,
109) error {
110 return w.Walk(entityType, cu.GetRelation())
111}
112
113// WalkLeaf is a method that walks through the leaf part of the schema
114func (w *Walker) WalkLeaf(

Callers 1

WalkLeafMethod · 0.95

Calls 2

WalkMethod · 0.95
GetRelationMethod · 0.45

Tested by

no test coverage detected