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

Method Add

pkg/database/collections.go:78–80  ·  view source on GitHub ↗

Add - New subject to collection.

(subject *base.Subject)

Source from the content-addressed store, hash-verified

76
77// Add - New subject to collection.
78func (s *SubjectCollection) Add(subject *base.Subject) {
79 s.subjects = append(s.subjects, subject)
80}
81
82// ENTITY
83

Callers 3

TestSubjectCollectionFunction · 0.95
expandDirectRelationMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestSubjectCollectionFunction · 0.76