MCPcopy Create free account
hub / github.com/devops-rob/target-cli / TargetHome

Function TargetHome

pkg/targetdir/targetdir.go:22–24  ·  view source on GitHub ↗

TargetHome returns the location of the target folder, usually $HOME/.target

()

Source from the content-addressed store, hash-verified

20// TargetHome returns the location of the target
21// folder, usually $HOME/.target
22func TargetHome() string {
23 return fmt.Sprintf("%s/.target", HomeFolder())
24}
25
26// TargetHomeCreate checks for the target directory
27// and profiles.json file and creates if they don't exist

Callers 5

consul.goFile · 0.92
terraform.goFile · 0.92
nomad.goFile · 0.92
vault.goFile · 0.92
TargetHomeCreateFunction · 0.85

Calls 1

HomeFolderFunction · 0.85

Tested by

no test coverage detected