MCPcopy Create free account
hub / github.com/docker/docker-agent / BinDir

Function BinDir

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

BinDir returns the directory where tool binaries/symlinks are placed. This is ToolsDir()/bin/

()

Source from the content-addressed store, hash-verified

20// BinDir returns the directory where tool binaries/symlinks are placed.
21// This is ToolsDir()/bin/
22func BinDir() string {
23 return filepath.Join(ToolsDir(), "bin")
24}
25
26// PackageDir returns the directory for a specific package version.
27// This is ToolsDir()/packages/<owner>/<repo>/<version>/

Callers 11

installGoPackageFunction · 0.85
ensureSymlinkFunction · 0.85
PrependBinDirToEnvFunction · 0.85
TestEnsureSymlinkFunction · 0.85
TestInstall_RawFormatFunction · 0.85
assertInstalledBinaryFunction · 0.85
resolveFunction · 0.85
doInstallFunction · 0.85
TestBinDirFunction · 0.85

Calls 1

ToolsDirFunction · 0.85

Tested by 6

TestEnsureSymlinkFunction · 0.68
TestInstall_RawFormatFunction · 0.68
assertInstalledBinaryFunction · 0.68
TestBinDirFunction · 0.68