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

Function done

index.js:6006–6011  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

6004 var stream = Fs.createWriteStream(filename);
6005
6006 var done = function(err) {
6007 if (callback) {
6008 callback(err);
6009 callback = null;
6010 }
6011 };
6012
6013 response.pipe(stream);
6014 response.on('error', done);

Callers 2

index.jsFile · 0.85
nosql.jsFile · 0.85

Calls 2

callbackFunction · 0.85
existsSyncFunction · 0.70

Tested by

no test coverage detected