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

SHA1

Contains functions which allow the SHA1 of a file with git and without it.

Functions and values

Function or valueDescription
calcGitSHA1(text)
Signature: text:string -> string

Calculates the SHA1 for a given string like git.

calcSHA1(text)
Signature: text:string -> string

Calculates the SHA1 for a given string.

showObjectHash repositoryDir fileName
Signature: repositoryDir:string -> fileName:string -> string

Shows the SHA1 calculated by git. Assumes that the CommandHelper module can find git.exe.