Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Checksum

Allow to calculate checksum

Static members

Static memberDescription
Checksum.CalculateFileHash(...)
Signature: (filePath:string * hashAlgorithm:ChecksumHashAlgorithm option) -> string
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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

Checksum.CheckFileHash(...)
Signature: (filepath:string * hash:string * hashAlgorithm:ChecksumHashAlgorithm option) -> bool
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

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