kopia lustrzana https://gitlab.com/rysiekpl/libresilient
cli: basic-integrity function comment added (ref. #66)
rodzic
4c0d9f1167
commit
5af7012da7
|
@ -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 = []
|
||||
|
|
Ładowanie…
Reference in New Issue