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

Method Remove

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

Source from the content-addressed store, hash-verified

65}
66
67func (f *File) Remove(pkgs ...string) error {
68 for _, p := range pkgs {
69 delete(f.Packages, p)
70 }
71 return f.Save()
72}
73
74// Resolve updates the in memory copy for performance but does not write to disk
75// This avoids writing values that may need to be removed in case of error.

Callers 13

UpdateStdenvMethod · 0.95
writeTempFileFunction · 0.45
createSymlinkFunction · 0.45
RemoveInvalidSymlinksFunction · 0.45
writeToMethod · 0.45
makeFlakeFileFunction · 0.45
WriteScriptsToFilesFunction · 0.45
restoreEventsFunction · 0.45
ExtractFunction · 0.45
runRemoveCmdFunction · 0.45
ResetFunction · 0.45
TestSudoDevboxFunction · 0.45

Calls 1

SaveMethod · 0.95

Tested by 1

TestSudoDevboxFunction · 0.36