MCPcopy
hub / github.com/vercel/hyper / readFile

Function readFile

bin/yarn-standalone.js:1504–1506  ·  view source on GitHub ↗
(loc)

Source from the content-addressed store, hash-verified

1502}
1503
1504function readFile(loc) {
1505 return _readFile(loc, 'utf8').then(normalizeOS);
1506}
1507
1508function readFileRaw(loc) {
1509 return _readFile(loc, 'binary');

Callers 3

yarn-standalone.jsFile · 0.85
loadpkgFunction · 0.85
loadAsDirectoryFunction · 0.85

Calls 2

_readFileFunction · 0.85
go$readFileFunction · 0.85

Tested by

no test coverage detected