Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

Checksum

Allow to calculate checksum

Static members

Static memberDescription
Checksum.CalculateFileHash(...)
Signature: (filePath:string * hashAlgorithm:ChecksumHashAlgorithm option) -> string

Calculate the hash of a file. Default hash algorithm used: SHA256

Checksum.CheckFileHash(...)
Signature: (filepath:string * hash:string * hashAlgorithm:ChecksumHashAlgorithm option) -> bool

Check if the hash in parameter is the valid hash of the file