MCPcopy
hub / github.com/ory/keto / String

Method String

internal/relationtuple/definitions.go:129–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

127}
128
129func (t *RelationTuple) String() string {
130 if t == nil {
131 return ""
132 }
133 return fmt.Sprintf("%s:%s#%s@%s", t.Namespace, t.Object, t.Relation, t.Subject)
134}
135
136func (t *RelationTuple) FromProto(proto *rts.RelationTuple) *RelationTuple {
137 // TODO(hperl)

Callers 1

TestWriteHandlersFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestWriteHandlersFunction · 0.76