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

Function main

benchmark/fs/bench-realpath.js:15–21  ·  view source on GitHub ↗
({ n, pathType })

Source from the content-addressed store, hash-verified

13
14
15function main({ n, pathType }) {
16 bench.start();
17 if (pathType === 'relative')
18 relativePath(n);
19 else
20 resolvedPath(n);
21}
22
23function relativePath(n) {
24 (function r(cntr) {

Callers

nothing calls this directly

Calls 3

resolvedPathFunction · 0.85
relativePathFunction · 0.70
startMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…