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

Function readText

Support/SingleFileLibs/javascript/cli.js:47–47  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

45}
46
47async function readText(path) { return await fsReadFile(path, 'utf8'); }
48async function writeText(path, content) { await fsWriteFile(path, content); }
49async function loadJSON(path) { return JSON.parse(await readText(path)); }
50function listFilesRecursive(root) {

Callers 2

loadJSONFunction · 0.85
readFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected