MCPcopy Index your code
hub / github.com/coder/coder / ScriptBinDir

Method ScriptBinDir

agent/agentscripts/agentscripts.go:110–112  ·  view source on GitHub ↗

ScriptBinDir returns the directory where scripts can store executable binaries.

()

Source from the content-addressed store, hash-verified

108// ScriptBinDir returns the directory where scripts can store executable
109// binaries.
110func (r *Runner) ScriptBinDir() string {
111 return filepath.Join(r.dataDir, "bin")
112}
113
114func (r *Runner) RegisterMetrics(reg prometheus.Registerer) {
115 if reg == nil {

Callers 5

InitMethod · 0.95
runMethod · 0.95
initMethod · 0.80
updateCommandEnvMethod · 0.80
TestEnvFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestEnvFunction · 0.64