package
0.0.0-20240722101411-a6d316b3f47e
Repository: https://github.com/bitrise-steplib/steps-git-clone.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewBranchParams validates and returns a new BranchParams.
NewCommitParams validates and returns a new CommitParams.
No description provided by the author
No description provided by the author
NewParameterValidationError returns a new ValidationError.
NewPRDiffFileParams validates and returns a new PRDiffFileParams.
NewPRManualMergeParams validates and returns a new PRManualMergeParams.
NewPRMergeRefParams validates and returns a new PRMergeRefParams.
NewTagParams validates and returns a new TagParams.

# Constants

CheckoutBranchMethod checks out a given branch's head when a commit hash is not available.
CheckoutCommitMethod checks out a given commit on a given branch.
CheckoutForkCommitMethod checks out the PR from the fork repo (if accessible).
CheckoutHeadBranchCommitMethod checks out the PR/MR branch head without merging it into the destination branch.
CheckoutNoneMethod only adds remote, resets repo, updates submodules.
CheckoutPRDiffFileMethod creates the merge result of a PR/MR by applying the diff manually (if available).
CheckoutPRManualMergeMethod creates the merge result by merging the PR/MR branch into the destination branch.
CheckoutPRMergeBranchMethod creates the merge result by fetching the merge ref from the destination repo (if available).
CheckoutTagMethod checks out a given tag.
InvalidCheckoutMethod ...

# Structs

BranchParams are parameters to check out a given branch (In addition to the repository URL).
No description provided by the author
CommitParams are parameters to check out a given commit (In addition to the repository URL).
Config is the git clone step configuration.
DefaultRunner ...
No description provided by the author
No description provided by the author
ParameterValidationError is returned when there is missing or malformed parameter for a given parameter set.
PRDiffFileParams are parameters to check out a Merge/Pull Request (when a diff file is available).
PRManualMergeParams are parameters to check out a Merge Request using manual merge.
PRMergeRefParams are parameters to check out a Merge/Pull Request's merge ref (the result of merging the 2 branches) When available, the merge ref is created by the git server and passed in the webhook.
TagParams are parameters to check out a given tag.

# Interfaces

CommandRunner ...

# Type aliases

CheckoutMethod is the checkout method used.