MCPcopy Index your code
hub / github.com/nodejs/node / readFixtureKey

Function readFixtureKey

test/common/fixtures.js:24–26  ·  view source on GitHub ↗
(name, enc)

Source from the content-addressed store, hash-verified

22}
23
24function readFixtureKey(name, enc) {
25 return fs.readFileSync(fixturesPath('keys', name), enc);
26}
27
28function readFixtureKeys(enc, ...names) {
29 return names.map((name) => readFixtureKey(name, enc));

Callers 1

readFixtureKeysFunction · 0.85

Calls 2

fixturesPathFunction · 0.85
readFileSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…