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

Function getHandle

test/parallel/test-fs-promises.js:100–105  ·  view source on GitHub ↗
(dest)

Source from the content-addressed store, hash-verified

98}
99
100async function getHandle(dest) {
101 await copyFile(fixtures.path('baz.js'), dest);
102 await access(dest);
103
104 return open(dest, 'r+');
105}
106
107async function executeOnHandle(dest, func) {
108 let handle;

Callers 1

executeOnHandleFunction · 0.85

Calls 4

accessFunction · 0.70
openFunction · 0.70
copyFileFunction · 0.50
pathMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…