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

Method Install

internal/devbox/devbox.go:346–351  ·  view source on GitHub ↗

Install ensures that all the packages in the config are installed but does not run init hooks. It is used to power devbox install cli command.

(ctx context.Context)

Source from the content-addressed store, hash-verified

344// Install ensures that all the packages in the config are installed
345// but does not run init hooks. It is used to power devbox install cli command.
346func (d *Devbox) Install(ctx context.Context) error {
347 ctx, task := trace.NewTask(ctx, "devboxInstall")
348 defer task.End()
349
350 return d.ensureStateIsUpToDate(ctx, ensure)
351}
352
353func (d *Devbox) ListScripts() []string {
354 scripts := d.cfg.Scripts()

Callers 5

shellEnvFuncFunction · 0.45
installCmdFuncFunction · 0.45
InstallRunXPackagesMethod · 0.45
RunXPathsMethod · 0.45
initDevboxUtilityProjectFunction · 0.45

Calls 2

ensureStateIsUpToDateMethod · 0.95
EndMethod · 0.80

Tested by

no test coverage detected