MCPcopy Index your code
hub / github.com/cloudhead/node-static / streamFiles

Function streamFiles

lib/node-static.js:75–80  ·  view source on GitHub ↗
(files)

Source from the content-addressed store, hash-verified

73 }
74 });
75 function streamFiles(files) {
76 util.mstat(pathname, files, function (e, stat) {
77 if (e) { return finish(404, {}) }
78 that.respond(pathname, 200, {}, files, stat, req, res, finish);
79 });
80 }
81};
82
83Server.prototype.serveFile = function (pathname, status, headers, req, res) {

Callers 1

node-static.jsFile · 0.85

Calls 1

finishFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…