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

Method fetchLibrary

core/query.go:128–164  ·  view source on GitHub ↗

fetchLibrary attempts to obtain code for the given library. The given library can be a URL, a name that resolves to a URL via location.GetConfig().Libraries, or even explicit Javascript code.

(ctx *Context, library string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getLibraryCodeMethod · 0.95

Calls 4

ControlMethod · 0.95
isURLFunction · 0.85
LogFunction · 0.85
CachedSlurpFunction · 0.85

Tested by

no test coverage detected