Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/babel/minify
/ pathExists
Function
pathExists
scripts/benchmark.js:295–302 ·
view source on GitHub ↗
(file)
Source
from the content-addressed store, hash-verified
293
}
294
295
function
pathExists(file) {
296
try {
297
fs.statSync(file);
298
return
true;
299
} catch (e) {
300
return
false;
301
}
302
}
303
304
function
run() {
305
let
files = [];
Callers
1
updateCache
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected