Documentation ¶
Index ¶
- Constants
- func CloneRepository(ctx context.Context, gitInfo *GitInfo, targetDir string, helper string, ...) error
- func CommandContext(ctx context.Context, args ...string) *exec.Cmd
- func GetBranchNameForPR(ref string) string
- func NormalizeRepository(str string) (string, string, string, string, string)
- func PingRepository(str string) bool
- type GitInfo
Constants ¶
View Source
const ( CommitDelimiter string = "@sha256:" PullRequestReference string = "pull/([0-9]+)/head" SubPathDelimiter string = "@subpath:" )
Variables ¶
This section is empty.
Functions ¶
func CloneRepository ¶ added in v0.5.0
func GetBranchNameForPR ¶ added in v0.4.0
func NormalizeRepository ¶ added in v0.2.0
func PingRepository ¶ added in v0.2.0
Types ¶
type GitInfo ¶ added in v0.5.0
func NewGitInfo ¶ added in v0.5.0
func NormalizeRepositoryGitInfo ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.