MCPcopy
hub / github.com/cayleygraph/cayley / Add

Method Add

graph/shape/shape.go:742–744  ·  view source on GitHub ↗
(v ...graph.Ref)

Source from the content-addressed store, hash-verified

740type Fixed []graph.Ref
741
742func (s *Fixed) Add(v ...graph.Ref) {
743 *s = append(*s, v...)
744}
745func (s Fixed) BuildIterator(qs graph.QuadStore) graph.Iterator {
746 it := iterator.NewFixed()
747 for _, v := range s {

Callers 8

TestLoadIteratorToFunction · 0.95
LoadToDepthMethod · 0.95
TestRemoveQuadFunction · 0.95
BuildIteratorMethod · 0.95
QuadIteratorMethod · 0.95
NodesAllIteratorMethod · 0.95
QuadsAllIteratorMethod · 0.95

Calls

no outgoing calls

Tested by 3

TestLoadIteratorToFunction · 0.76
TestRemoveQuadFunction · 0.76