MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / readFile

Function readFile

lib/common/fs-utils.mjs:29–31  ·  view source on GitHub ↗
(filePath, options = 'utf-8')

Source from the content-addressed store, hash-verified

27}
28
29export function readFile (filePath, options = 'utf-8') {
30 return fs.readFileSync(filePath, options)
31}
32
33export function writeFile (filePath, fileSource, options = 'utf-8') {
34 fs.writeFileSync(filePath, fileSource, options)

Callers 2

compileTemplateFunction · 0.90
updateIndex.mjsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected