MCPcopy Create free account
hub / github.com/GCWing/BitFun / readText

Function readText

scripts/i18n-contract.test.mjs:28–30  ·  view source on GitHub ↗
(relativePath)

Source from the content-addressed store, hash-verified

26}
27
28function readText(relativePath) {
29 return fs.readFileSync(path.join(root, relativePath), 'utf8');
30}
31
32function writeText(relativePath, content) {
33 fs.mkdirSync(path.dirname(path.join(root, relativePath)), { recursive: true });

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected