MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / readFile

Function readFile

Support/SingleFileLibs/javascript/app.js:297–297  ·  view source on GitHub ↗
(r, path)

Source from the content-addressed store, hash-verified

295 dependencies: state.dependencyGraph,
296 async listTree() { return tree.tree; },
297 async readFile(r, path) { return await fetchFileCached(r, path); },
298 async getVersionString(r) {
299 const sha = await getCommitShaForRef(r);
300 const shortSha = sha.slice(0,7);

Callers

nothing calls this directly

Calls 1

fetchFileCachedFunction · 0.85

Tested by

no test coverage detected