MCPcopy Create free account
hub / github.com/webpack/webpack-cli / readdir

Function readdir

test/utils/test-utils.js:348–356  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

346 });
347
348const readdir = (path) =>
349 new Promise((resolve, reject) => {
350 fs.readdir(path, (err, stats) => {
351 if (err) {
352 reject(err);
353 }
354 resolve(stats);
355 });
356 });
357
358// cSpell:ignore Symbhas, ABCDEFGHNR, Vfgcti
359const urlAlphabet = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW";

Callers

nothing calls this directly

Calls 1

resolveFunction · 0.85

Tested by

no test coverage detected