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

Use Fake.Tools.Git.SanityChecks instead

SanityChecks

Contains helper function which can be used for sanity checks.

Functions and values

Function or valueDescription
checkIfBranchExists repositoryDir branch
Signature: repositoryDir:string -> branch:string -> unit
Attributes:
[<Obsolete("Use Fake.Tools.Git.SanityChecks instead")>]
OBSOLETE

Use Fake.Tools.Git.SanityChecks instead

Checks if the given branch exists.

checkIfBranchIsAbsent(...)
Signature: repositoryDir:string -> branch:string -> unit
Attributes:
[<Obsolete("Use Fake.Tools.Git.SanityChecks instead")>]
OBSOLETE

Use Fake.Tools.Git.SanityChecks instead

Checks if the given branch is absent.

checkIsLocalBranch repositoryDir branch
Signature: repositoryDir:string -> branch:string -> unit
Attributes:
[<Obsolete("Use Fake.Tools.Git.SanityChecks instead")>]
OBSOLETE

Use Fake.Tools.Git.SanityChecks instead

Checks if the given branch is a local branch.

checkIsRemoteBranch repositoryDir branch
Signature: repositoryDir:string -> branch:string -> unit
Attributes:
[<Obsolete("Use Fake.Tools.Git.SanityChecks instead")>]
OBSOLETE

Use Fake.Tools.Git.SanityChecks instead

Checks if the given branch is a remote branch.

checkRevisionExists(...)
Signature: repositoryDir:string -> revision1:string -> unit
Attributes:
[<Obsolete("Use Fake.Tools.Git.SanityChecks instead")>]
OBSOLETE

Use Fake.Tools.Git.SanityChecks instead

Checks if the given branch exists.