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

Function read

test/utils/index.mjs:41–45  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

39}
40
41export function read (file) {
42 return fs.readFileSync(path.normalize(path.join(__dirname, '../resources/' + file)), {
43 encoding: 'utf8'
44 })
45}
46
47// Backs up the given file
48export function backup (src) {

Callers 7

params-test.mjsFile · 0.90
handlerFunction · 0.90
ldp-test.mjsFile · 0.90
describePatchFunction · 0.90
quota-test.mjsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected