MCPcopy Index your code
hub / github.com/sql-js/sql.js / finish

Function finish

js/sql-debug.js:4350–4357  ·  view source on GitHub ↗
(byteArray)

Source from the content-addressed store, hash-verified

4348 var dep = getUniqueRunDependency('cp ' + fullname); // might have several active requests for the same fullname
4349 function processData(byteArray) {
4350 function finish(byteArray) {
4351 if (preFinish) preFinish();
4352 if (!dontCreateFile) {
4353 FS.createDataFile(parent, name, byteArray, canRead, canWrite, canOwn);
4354 }
4355 if (onload) onload();
4356 removeRunDependency(dep);
4357 }
4358 var handled = false;
4359 Module['preloadPlugins'].forEach(function(plugin) {
4360 if (handled) return;

Callers 2

processDataFunction · 0.70
sql-debug.jsFile · 0.70

Calls 1

removeRunDependencyFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…