MCPcopy Index your code
hub / github.com/prettydiff/prettydiff / terminate

Function terminate

services.ts:2341–2354  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2339 },
2340 typeHash = function node_apps_hash_dirComplete_typeHash(index:number, end:number) {
2341 const terminate = function node_apps_hash_dirComplete_typeHash_terminate():void {
2342 c = c + 1;
2343 if (c === end) {
2344 if (a === listlen) {
2345 hashComplete();
2346 } else {
2347 if (verbose === true) {
2348 console.log(`${apps.humantime(false)}${text.green + apps.commas(a) + text.none} files hashed so far...`);
2349 }
2350 c = 0;
2351 recurse();
2352 }
2353 }
2354 };
2355 if (list[index][1] === "directory" || list[index][1] === "link") {
2356 const hash:Hash = node.crypto.createHash("sha512");
2357 hash.update(list[index][0]);

Callers 1

typeHashFunction · 0.85

Calls 2

hashCompleteFunction · 0.85
recurseFunction · 0.85

Tested by

no test coverage detected