MCPcopy Index your code
hub / github.com/rollup/plugins / isDirectory

Function isDirectory

packages/commonjs/src/dynamic-modules.js:26–33  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

24}
25
26function isDirectory(path) {
27 try {
28 if (statSync(path).isDirectory()) return true;
29 } catch (ignored) {
30 // Nothing to do here
31 }
32 return false;
33}
34
35export function getDynamicRequireModules(patterns, dynamicRequireRoot) {
36 const dynamicRequireModules = new Map();

Callers 1

getDynamicRequireModulesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected