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

Function p

test/parallel/test-vfs-fs-promises.js:20–20  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

18 myVfs.writeFileSync('/src/hello.txt', 'hello world');
19 myVfs.mount(mountPoint);
20 const p = (s) => path.join(mountPoint, s);
21
22 // Path-based reads
23 assert.strictEqual((await fsp.stat(p('src/hello.txt'))).isFile(), true);

Callers 2

runJsTestsMethod · 0.50

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected