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
Contains helper functions which can be used to retrieve file status information from git.
Type | Description |
FileStatus
|
A type which represents a file status in git.
|
Function or value | Description |
cleanWorkingCopy(repositoryDir)
Signature: repositoryDir:string -> unit
|
Cleans the working copy by doing a git reset --hard and a clean -f.
|
getAllFiles(repositoryDir)
Signature: repositoryDir:string -> seq<FileStatus * string>
|
Gets all changed files in the current revision
|
getChangedFiles(...)
Signature: repositoryDir:string -> revision1:string -> revision2:string -> seq<FileStatus * string>
|
Gets the changed files between the given revisions
|
getChangedFilesInWorkingCopy(...)
Signature: repositoryDir:string -> revision:string -> seq<FileStatus * string>
|
Gets the changed files since the given revision incl. changes in the working copy
|
getConflictedFiles(repositoryDir)
Signature: repositoryDir:string -> string list
|
Gets all conflicted files
|
getRebaseDir(repositoryDir)
Signature: repositoryDir:string -> string
|
Returns the current rebase directory for the given repository.
|
isInTheMiddleOfConflictedMerge(...)
Signature: repositoryDir:string -> bool
|
Returns true if the working copy is in a conflicted merge otherwise false
|
isInTheMiddleOfPatch(repositoryDir)
Signature: repositoryDir:string -> bool
|
Returns true if the given repository is in the middle of a patch process.
|
isInTheMiddleOfRebase(repositoryDir)
Signature: repositoryDir:string -> bool
|
Returns true if the given repository is in the middle of a rebase process.
|