Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRelativePathFromGitRepo ¶
func GetRelativePathFromGitRepo(tfDir string, t *testing.T) (relativePath, repoRoot string, err error)
GetRelativePathFromGitRepo returns the relative path to the git repo root. It is used to get the relative path to the git repo root for the Terraform directory. If the Terraform directory is an absolute path, it returns the relative path to the git repo root. If the Terraform directory is a relative path, it returns the relative path to the git repo root.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.