MCPcopy 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
295function pathExists(file) {
296 try {
297 fs.statSync(file);
298 return true;
299 } catch (e) {
300 return false;
301 }
302}
303
304function run() {
305 let files = [];

Callers 1

updateCacheMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected