MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / isDir

Function isDir

scripts/utils.js:53–59  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

51}
52
53export function isDir(path) {
54 try {
55 return fs.statSync(path).isDirectory();
56 } catch {
57 return false;
58 }
59}
60
61export function copy(src, dest) {
62 try {

Callers 4

mainFunction · 0.90
getChromiumSrcPathFunction · 0.90
copyRecursiveFunction · 0.85
removeRecursiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected