package
0.0.0-20250127150814-1ca7ded3a4fc
Repository: https://github.com/openfaas/faas-cli.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
GetGitDescribe returns the human readable name for the current commit using `git-describe`.
GetGitSHA returns the short Git commit SHA from local repo.
IsGitRemote validates if the supplied string is a valid git remote url value.
IsPinnedGitRemote validates if the supplied string is a valid git remote url value.
ParsePinnedRemote returns the remote url and contraint value from repository url.
# Variables
GitCheckout defines the command to clone a specific REF of repo into a directory.
GitCheckRefName defines the command that validates if a string is a valid reference name or sha.
GitClone defines the command to clone a repo into a directory.
GitClone defines the command to clone the default branch of a repo into a directory.
GitInitRepo initializes the working directory add commit all files & directories for Git 2.28.0+.
No description provided by the author