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

Function _asyncReadfile

lib/utils.mjs:295–297  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

293}
294
295function _asyncReadfile (filename) {
296 return util.promisify(fs.readFile)(filename, 'utf-8')
297}
298
299/**
300 * Get the content type from a headers object

Callers 1

getQuotaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected