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.FileStatus instead

FileStatus

Contains helper functions which can be used to retrieve file status information from git.

Nested types and modules

TypeDescription
FileStatus
OBSOLETE

Use Fake.Tools.Git.FileStatus instead

A type which represents a file status in git.

Functions and values

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

Use Fake.Tools.Git.FileStatus instead

Cleans the working copy by doing a git reset --hard and a clean -f.

getAllFiles(repositoryDir)
Signature: repositoryDir:string -> seq<FileStatus * string>
Attributes:
[<Obsolete("Use Fake.Tools.Git.FileStatus instead")>]
OBSOLETE

Use Fake.Tools.Git.FileStatus instead

Gets all changed files in the current revision

getChangedFiles(...)
Signature: repositoryDir:string -> revision1:string -> revision2:string -> seq<FileStatus * string>
Attributes:
[<Obsolete("Use Fake.Tools.Git.FileStatus instead")>]
OBSOLETE

Use Fake.Tools.Git.FileStatus instead

Gets the changed files between the given revisions

getChangedFilesInWorkingCopy(...)
Signature: repositoryDir:string -> revision:string -> seq<FileStatus * string>
Attributes:
[<Obsolete("Use Fake.Tools.Git.FileStatus instead")>]
OBSOLETE

Use Fake.Tools.Git.FileStatus instead

Gets the changed files since the given revision incl. changes in the working copy

getConflictedFiles(repositoryDir)
Signature: repositoryDir:string -> string list
Attributes:
[<Obsolete("Use Fake.Tools.Git.FileStatus instead")>]
OBSOLETE

Use Fake.Tools.Git.FileStatus instead

Gets all conflicted files

getRebaseDir(repositoryDir)
Signature: repositoryDir:string -> string
Attributes:
[<Obsolete("Use Fake.Tools.Git.FileStatus instead")>]
OBSOLETE

Use Fake.Tools.Git.FileStatus instead

Returns the current rebase directory for the given repository.

isInTheMiddleOfConflictedMerge(...)
Signature: repositoryDir:string -> bool
Attributes:
[<Obsolete("Use Fake.Tools.Git.FileStatus instead")>]
OBSOLETE

Use Fake.Tools.Git.FileStatus instead

Returns true if the working copy is in a conflicted merge otherwise false

isInTheMiddleOfPatch(repositoryDir)
Signature: repositoryDir:string -> bool
Attributes:
[<Obsolete("Use Fake.Tools.Git.FileStatus instead")>]
OBSOLETE

Use Fake.Tools.Git.FileStatus instead

Returns true if the given repository is in the middle of a patch process.

isInTheMiddleOfRebase(repositoryDir)
Signature: repositoryDir:string -> bool
Attributes:
[<Obsolete("Use Fake.Tools.Git.FileStatus instead")>]
OBSOLETE

Use Fake.Tools.Git.FileStatus instead

Returns true if the given repository is in the middle of a rebase process.