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

Function readFixtureSync

test/common/fixtures.js:18–22  ·  view source on GitHub ↗
(args, enc)

Source from the content-addressed store, hash-verified

16}
17
18function readFixtureSync(args, enc) {
19 if (Array.isArray(args))
20 return fs.readFileSync(Reflect.apply(fixturesPath, this, args), enc);
21 return fs.readFileSync(fixturesPath(args), enc);
22}
23
24function readFixtureKey(name, enc) {
25 return fs.readFileSync(fixturesPath('keys', name), enc);

Callers

nothing calls this directly

Calls 3

fixturesPathFunction · 0.85
readFileSyncMethod · 0.45
applyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…