MCPcopy Index your code
hub / github.com/WendellCraft/ModpackDebuggerKit / RemoveDependency

Method RemoveDependency

app.go:641–648  ·  view source on GitHub ↗
(mod string)

Source from the content-addressed store, hash-verified

639}
640
641func (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
650func (a *App) DeleteAllDependencies() {
651 a.mu.Lock()

Callers

nothing calls this directly

Calls 2

emitLogMethod · 0.95

Tested by

no test coverage detected