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

Function isFile

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

Source from the content-addressed store, hash-verified

43}
44
45export function isFile(path) {
46 try {
47 return fs.statSync(path).isFile();
48 } catch {
49 return false;
50 }
51}
52
53export function isDir(path) {
54 try {

Callers 3

mainFunction · 0.90
copyRecursiveFunction · 0.85
removeRecursiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected