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

Method DataDir

agent/agentscripts/agentscripts.go:104–106  ·  view source on GitHub ↗

DataDir returns the directory where scripts data is stored.

()

Source from the content-addressed store, hash-verified

102
103// DataDir returns the directory where scripts data is stored.
104func (r *Runner) DataDir() string {
105 return r.dataDir
106}
107
108// ScriptBinDir returns the directory where scripts can store executable
109// binaries.

Callers 2

runMethod · 0.95
TestEnvFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestEnvFunction · 0.64