MCPcopy Index your code
hub / github.com/totaljs/framework / fsFileExists

Function fsFileExists

index.js:18851–18858  ·  view source on GitHub ↗
(filename, callback, a, b, c)

Source from the content-addressed store, hash-verified

18849}
18850
18851function fsFileExists(filename, callback, a, b, c) {
18852 U.queue('F.files', CONF.default_maxopenfiles, function(next) {
18853 Fs.lstat(filename, function(err, stats) {
18854 next();
18855 callback(!err && stats.isFile(), stats ? stats.size : 0, stats ? stats.isFile() : false, stats, a, b, c);
18856 });
18857 });
18858}
18859
18860function fsStreamRead(filename, options, callback, res) {
18861

Callers 6

index.jsFile · 0.85
compile_checkFunction · 0.85
compile_gzipFunction · 0.85
extend_responseFunction · 0.85
$image_persistentFunction · 0.85
$image_nocacheFunction · 0.85

Calls 2

callbackFunction · 0.85
nextFunction · 0.70

Tested by

no test coverage detected