Улучшение работы RemoteLib.downloadInpxFile

This commit is contained in:
Book Pauk
2022-10-15 20:59:42 +07:00
parent 0894a38978
commit 9aa9261b6a
5 changed files with 38 additions and 20 deletions

View File

@@ -23,6 +23,10 @@ class InpxHashCreator {
return utils.getBufHash(joinedHash, 'sha256', 'hex');
}
async getInpxFileHash() {
return await utils.getFileHash(this.config.inpxFile, 'sha256', 'hex');
}
}
module.exports = InpxHashCreator;