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

Function readFile

Support/SingleFileLibs/javascript/cli.js:100–102  ·  view source on GitHub ↗
(_ref, path)

Source from the content-addressed store, hash-verified

98 return rel;
99 },
100 async readFile(_ref, path) {
101 return await readText(join(repoRoot, path));
102 },
103 async getVersionString(_ref) {
104 // Try to mimic Python version: <latest tag> (<short sha>)
105 // For simplicity here, return just the short HEAD sha via git, falling back to 'unknown'

Callers

nothing calls this directly

Calls 2

readTextFunction · 0.85
joinFunction · 0.50

Tested by

no test coverage detected