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

Function NewAPICollection

cmd/relationtuple/output.go:42–44  ·  view source on GitHub ↗
(rels []*ketoapi.RelationTuple)

Source from the content-addressed store, hash-verified

40}
41
42func NewAPICollection(rels []*ketoapi.RelationTuple) *Collection {
43 return &Collection{apiRelations: rels}
44}
45
46func (r *Collection) Header() []string {
47 return []string{

Callers 5

TestCreateCmdFunction · 0.85
transactTuplesFromFilesFunction · 0.85
TestDeleteCmdFunction · 0.85
NewParseCmdFunction · 0.85
TestRelationCollectionFunction · 0.85

Calls

no outgoing calls

Tested by 3

TestCreateCmdFunction · 0.68
TestDeleteCmdFunction · 0.68
TestRelationCollectionFunction · 0.68