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

Function absolutizeIfLocal

internal/boxcli/pull.go:124–129  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

122}
123
124func absolutizeIfLocal(path string) (string, error) {
125 if _, err := os.Stat(path); err == nil {
126 return filepath.Abs(path)
127 }
128 return path, nil
129}

Callers 1

pullCmdFuncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected