(mod string)
| 639 | } |
| 640 | |
| 641 | func (a *App) RemoveDependency(mod string) { |
| 642 | a.mu.Lock() |
| 643 | delete(a.ProjectData.Dependencies, mod) |
| 644 | a.ProjectModified = true |
| 645 | a.mu.Unlock() |
| 646 | a.emitLog(fmt.Sprintf("Dependency removed: %s", mod), LogSuccess) |
| 647 | a.updateHangingLibraries() |
| 648 | } |
| 649 | |
| 650 | func (a *App) DeleteAllDependencies() { |
| 651 | a.mu.Lock() |
nothing calls this directly
no test coverage detected