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

Method profilePath

internal/devbox/packages.go:421–429  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

419}
420
421func (d *Devbox) profilePath() (string, error) {
422 absPath := filepath.Join(d.projectDir, nix.ProfilePath)
423
424 if err := resetProfileDirForFlakes(absPath); err != nil {
425 slog.Error("resetProfileDirForFlakes error", "err", err)
426 }
427
428 return absPath, errors.WithStack(os.MkdirAll(filepath.Dir(absPath), 0o755))
429}
430
431var resetCheckDone = false
432

Callers 1

Calls 2

resetProfileDirForFlakesFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected