MCPcopy Index your code
hub / github.com/gto76/python-cheatsheet / readFile

Function readFile

parse.js:942–948  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

940// UTIL
941
942function readFile(filename) {
943 try {
944 return fs.readFileSync(filename, 'utf8');
945 } catch(e) {
946 console.error('Error:', e.stack);
947 }
948}
949
950function writeToFile(filename, text) {
951 try {

Callers 2

mainFunction · 0.85
getMdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected