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

Function relativePath

benchmark/fs/bench-realpath.js:23–31  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

21}
22
23function relativePath(n) {
24 (function r(cntr) {
25 if (cntr-- <= 0)
26 return bench.end(n);
27 fs.realpath(relative_path, () => {
28 r(cntr);
29 });
30 }(n));
31}
32
33function resolvedPath(n) {
34 (function r(cntr) {

Callers 1

mainFunction · 0.70

Calls 3

rFunction · 0.50
endMethod · 0.45
realpathMethod · 0.45

Tested by

no test coverage detected