MCPcopy Index your code
hub / github.com/jetify-com/devbox / ScriptPath

Function ScriptPath

internal/shellgen/scripts.go:135–137  ·  view source on GitHub ↗
(projectDir, scriptName string)

Source from the content-addressed store, hash-verified

133}
134
135func ScriptPath(projectDir, scriptName string) string {
136 return filepath.Join(projectDir, scriptsDir, scriptName+".sh")
137}
138
139func ScriptBody(d devboxer, body string) (string, error) {
140 var buf bytes.Buffer

Callers 7

RunScriptMethod · 0.92
EnvExportsMethod · 0.92
writeDevboxShellrcMethod · 0.92
testWriteDevboxShellrcFunction · 0.92
WriteScriptsToFilesFunction · 0.85
createScriptFileFunction · 0.85
ScriptBodyFunction · 0.85

Calls

no outgoing calls

Tested by 1

testWriteDevboxShellrcFunction · 0.74