FAKE - F# Make - A DSL for build tasks and more FAKE
6.1.3

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

SHA1 Module

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

Functions and values

Function or value Description

SHA1.calcGitSHA1 text

Full Usage: SHA1.calcGitSHA1 text

Parameters:
    text : string - The string to calculate SHA1 for

Returns: string

Calculates the SHA1 for a given string like git.

text : string

The string to calculate SHA1 for

Returns: string

SHA1.calcSHA1 text

Full Usage: SHA1.calcSHA1 text

Parameters:
    text : string - The string to calculate SHA1 for

Returns: string

Calculates the SHA1 for a given string.

text : string

The string to calculate SHA1 for

Returns: string

SHA1.showObjectHash repositoryDir fileName

Full Usage: SHA1.showObjectHash repositoryDir fileName

Parameters:
    repositoryDir : string - The repository directory to execute command in
    fileName : string - The file name to show SHA1 for

Returns: string

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

repositoryDir : string

The repository directory to execute command in

fileName : string

The file name to show SHA1 for

Returns: string