MCPcopy Create free account
hub / github.com/Comcast/rulio / AddPatternJSON

Method AddPatternJSON

core/patternindex_test.go:36–42  ·  view source on GitHub ↗

AddPatternJSON adds the given pattern (as JSON) to the index.

(ctx *Context, js []byte, id string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 3

addMethod · 0.95
ParseJSONFunction · 0.85
mapToPairsFunction · 0.85

Tested by

no test coverage detected