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

Method Add

pkg/database/collections.go:112–114  ·  view source on GitHub ↗

Add - New subject to collection.

(entity *base.Entity)

Source from the content-addressed store, hash-verified

110
111// Add - New subject to collection.
112func (e *EntityCollection) Add(entity *base.Entity) {
113 e.entities = append(e.entities, entity)
114}
115
116// AttributeCollection -Attribute collection.
117type AttributeCollection struct {

Callers 1

TestEntityCollectionFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestEntityCollectionFunction · 0.76