Handling Module
Types
| Type | Description |
|
|
Functions and values
| Function or value |
Description
|
Full Usage:
cacheGitCommand repoCacheFolder command
Parameters:
string
command : string
Returns: string
|
A git command on the git cache at repoCacheFolder. --git-dir names the repository: git then doesn't take the repository of a parent folder for a broken cache, and safe.bareRepository=explicit allows it
|
Full Usage:
checkForCommitsMadeInDetachedHeadState repoFolder
Parameters:
string
|
|
Full Usage:
checkForUncommittedChanges repoFolder
Parameters:
string
|
|
Full Usage:
checkoutTaggedCommit repoFolder
Parameters:
string
|
|
Full Usage:
checkoutToPaketFolder repoFolder hasCheckout cloneUrl cacheCloneUrl commit
Parameters:
string
hasCheckout : bool
cloneUrl : string
cacheCloneUrl : string
commit : string
|
Checks the commit out in the paket-files at repoFolder. hasCheckout tells whether they hold a checkout, as getCheckedOutCommit does: only a checkout can hold changes that the checkout of the commit would lose
|
Full Usage:
extractUrlParts gitConfig
Parameters:
string
Returns: string * string option * string * GitLinkOrigin * string option * string option * string option
|
|
Full Usage:
fetchCache repoCacheFolder cloneUrl
Parameters:
string
cloneUrl : string
|
|
Full Usage:
getCheckedOutCommit repoFolder
Parameters:
string
Returns: string option
|
The commit checked out in the paket-files clone at repoFolder: None when it has no checkout, as a clone that a run left without one, whose HEAD names a commit that none of its files are from
|
Full Usage:
getCommitInPaketFiles repoFolder commitish
Parameters:
string
commitish : string
Returns: string option
|
The commit of a commit-ish in the paket-files clone at repoFolder, as a commit or a tag of a lock file
|
Full Usage:
getCurrentHash repoFolder
Parameters:
string
Returns: string option
|
|
Full Usage:
getHash repoFolder commitish
Parameters:
string
commitish : string
Returns: string option
|
|
Full Usage:
getHashFromRemote url branch
Parameters:
string
branch : string
Returns: string
|
|
Full Usage:
getHashInCache repoCacheFolder commitish
Parameters:
string
commitish : string
Returns: string option
|
|
Full Usage:
hasClone repoFolder
Parameters:
string
Returns: bool
|
Whether repoFolder holds a clone: its .git is a folder, or a file that names one, as for a submodule or a worktree
|
Full Usage:
paketCheckoutTag
Returns: string
|
|
Full Usage:
paketFilesGitCommand repoFolder command
Parameters:
string
command : string
Returns: string
|
A git command on the paket-files clone at repoFolder. --git-dir and --work-tree name it: git then doesn't take the repository of the project, which the paket-files are in, for a folder without clone
|
Full Usage:
tagCommitForCheckout repoFolder commit
Parameters:
string
commit : string
|
|
Paket