cli: basic-integrity function comment added (ref. #66)

merge-requests/23/head
Michał 'rysiek' Woźniak 2022-12-10 23:48:14 +00:00
rodzic 4c0d9f1167
commit 5af7012da7
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -26,6 +26,12 @@ let binToBase64 = (binary_data) => {
}
/**
* get integrity digests for a given path
*
* path - path to a file whose digest is to be generated
* algos - array of SubtleCrypto.digest-compatible algorithm names
*/
let getFileIntegrity = async (path, algos) => {
var result = []