MCPcopy Create free account
hub / github.com/css-modules/css-modules-require-hook / readdir

Function readdir

test/tokens/index.js:27–30  ·  view source on GitHub ↗

* @param {string} dir * @return {string[]}

(dir)

Source from the content-addressed store, hash-verified

25 * @return {string[]}
26 */
27function readdir(dir) {
28 return readdirSync(resolve(__dirname, dir))
29 .map(nesteddir => resolve(__dirname, dir, nesteddir));
30}
31
32/**
33 * @param {...string} file

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…