MCPcopy Create free account
hub / github.com/totaljs/framework / existsSync

Function existsSync

index.js:19136–19143  ·  view source on GitHub ↗
(filename, file)

Source from the content-addressed store, hash-verified

19134}
19135
19136function existsSync(filename, file) {
19137 try {
19138 var val = Fs.statSync(filename);
19139 return val ? (file ? val.isFile() : true) : false;
19140 } catch (e) {
19141 return false;
19142 }
19143}
19144
19145function getLoggerMiddleware(name) {
19146 return 'MIDDLEWARE("' + name + '")';

Callers 5

index.jsFile · 0.70
listingFunction · 0.70
restorecbFunction · 0.70
compile_mergeFunction · 0.70
doneFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected