(pkgs ...string)
| 65 | } |
| 66 | |
| 67 | func (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. |