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

Function stat

test/Errors.test.js:130–135  ·  view source on GitHub ↗
(
			/** @type {string} */ file,
			/** @type {(err: Error | null, stats?: import("fs").Stats) => void} */ callback
		)

Source from the content-addressed store, hash-verified

128 callback();
129 },
130 stat(
131 /** @type {string} */ file,
132 /** @type {(err: Error | null, stats?: import("fs").Stats) => void} */ callback
133 ) {
134 callback(new Error("ENOENT"));
135 }
136 })
137};
138

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.70

Tested by

no test coverage detected