MCPcopy
hub / github.com/MisterBooo/LeetCodeAnimation / readText

Function readText

tools/scripts/sync-algomooc-index.js:191–194  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

189}
190
191function readText(file) {
192 const target = path.join(ROOT, file);
193 return fs.existsSync(target) ? fs.readFileSync(target, "utf8") : "";
194}
195
196function writeText(file, content) {
197 const target = path.join(ROOT, file);

Callers 3

writeTextFunction · 0.85
appendSyncLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected