()
| 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]); |
no test coverage detected