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

Function statePath

internal/setup/setup.go:360–364  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

358}
359
360func statePath(key string) string {
361 dir := xdg.StateSubpath("devbox")
362 name := strings.ReplaceAll(key, "/", "-")
363 return filepath.Join(dir, name)
364}
365
366func taskError(key string, err error) error {
367 if err == nil {

Callers 3

ResetFunction · 0.85
loadStateFunction · 0.85
saveStateFunction · 0.85

Calls 1

StateSubpathFunction · 0.92

Tested by

no test coverage detected