Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
45
export
function
isFile(path) {
46
try {
47
return
fs.statSync(path).isFile();
48
} catch {
49
return
false;
50
}
51
}
52
53
export
function
isDir(path) {
54
try {
Callers
3
main
Function · 0.90
copyRecursive
Function · 0.85
removeRecursive
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected