MCPcopy Create free account
hub / github.com/TruthHun/BookStack / getFile

Function getFile

static/editor.md/lib/codemirror/addon/tern/worker.js:26–29  ·  view source on GitHub ↗
(file, c)

Source from the content-addressed store, hash-verified

24
25var nextId = 0, pending = {};
26function getFile(file, c) {
27 postMessage({type: "getFile", name: file, id: ++nextId});
28 pending[nextId] = c;
29}
30
31function startServer(defs, plugins, scripts) {
32 if (scripts) importScripts.apply(null, scripts);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected