package
0.48.2
Repository: https://github.com/gruntwork-io/terratest.git
Documentation: pkg.go.dev

# Functions

GetCurrentBranchName retrieves the current branch name or empty string in case of detached state.
GetCurrentBranchNameE retrieves the current branch name or empty string in case of detached state.
GetCurrentBranchNameOldE retrieves the current branch name or empty string in case of detached state.
GetCurrentGitRef retrieves current branch name, lightweight (non-annotated) tag or if tag points to the commit exact tag value.
GetCurrentGitRefE retrieves current branch name, lightweight (non-annotated) tag or if tag points to the commit exact tag value.
GetRepoRoot retrieves the path to the root directory of the repo.
GetRepoRootE retrieves the path to the root directory of the repo.
GetRepoRootForDir retrieves the path to the root directory of the repo in which dir resides.
GetRepoRootForDirE retrieves the path to the root directory of the repo in which dir resides.
GetTagE retrieves lightweight (non-annotated) tag or if tag points to the commit exact tag value.