MCPcopy
hub / github.com/webpack/webpack / stat

Function stat

test/Compiler.test.js:72–77  ·  view source on GitHub ↗
(
					/** @type {string} */ _path,
					/** @type {(err: Error) => void} */ callback
				)

Source from the content-addressed store, hash-verified

70 callback();
71 },
72 stat(
73 /** @type {string} */ _path,
74 /** @type {(err: Error) => void} */ callback
75 ) {
76 callback(new Error("ENOENT"));
77 }
78 })
79 );
80 c.hooks.compilation.tap(

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected