Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
42
func
NewAPICollection(rels []*ketoapi.RelationTuple) *Collection {
43
return
&Collection{apiRelations: rels}
44
}
45
46
func
(r *Collection) Header() []string {
47
return
[]string{
Callers
5
TestCreateCmd
Function · 0.85
transactTuplesFromFiles
Function · 0.85
TestDeleteCmd
Function · 0.85
NewParseCmd
Function · 0.85
TestRelationCollection
Function · 0.85
Calls
no outgoing calls
Tested by
3
TestCreateCmd
Function · 0.68
TestDeleteCmd
Function · 0.68
TestRelationCollection
Function · 0.68