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

Method Add

internal/lock/lockfile.go:58–65  ·  view source on GitHub ↗
(pkgs ...string)

Source from the content-addressed store, hash-verified

56}
57
58func (f *File) Add(pkgs ...string) error {
59 for _, p := range pkgs {
60 if _, err := f.Resolve(p); err != nil {
61 return err
62 }
63 }
64 return f.Save()
65}
66
67func (f *File) Remove(pkgs ...string) error {
68 for _, p := range pkgs {

Callers 8

UpdateStdenvMethod · 0.95
logRunFuncMethod · 0.45
populateConfigFunction · 0.45
requestMethod · 0.45
UploadFunction · 0.45
addCmdFuncFunction · 0.45
ListenToChangesFunction · 0.45

Calls 2

ResolveMethod · 0.95
SaveMethod · 0.95

Tested by 1