MCPcopy Index your code
hub / github.com/reactjs/react-modal / isDirectory

Function isDirectory

scripts/webpack.config.js:8–10  ·  view source on GitHub ↗
(dir)

Source from the content-addressed store, hash-verified

6var EXAMPLES_DIR = path.resolve(__dirname, '../examples');
7
8function isDirectory(dir) {
9 return fs.lstatSync(dir).isDirectory();
10}
11
12function buildEntries() {
13 return fs.readdirSync(EXAMPLES_DIR).reduce(function (entries, dir) {

Callers 1

buildEntriesFunction · 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…