This commit is contained in:
Bryan Ashby 2018-12-10 21:54:59 -07:00
parent 8549fa7ac4
commit cde329b439
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ function getExistingFileEntriesBySha256(sha256, cb) {
);
}
// :TODO: This is bascially sliceAtEOF() from art.js .... DRY!
// :TODO: This is basically sliceAtEOF() from art.js .... DRY!
function sliceAtSauceMarker(data) {
let eof = data.length;
const stopPos = Math.max(data.length - (256), 0); // 256 = 2 * sizeof(SAUCE)