MCPcopy
hub / github.com/chavyleung/scripts / getScript

Method getScript

Env.js:143–147  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

141 }
142
143 getScript(url) {
144 return new Promise((resolve) => {
145 this.get({ url }, (err, resp, body) => resolve(body))
146 })
147 }
148
149 runScript(script, runOpts) {
150 return new Promise((resolve) => {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected