MCPcopy Create free account
hub / github.com/WendellCraft/ModpackDebuggerKit / SaveNewModsForLater

Method SaveNewModsForLater

app.go:601–609  ·  view source on GitHub ↗
(mods []string)

Source from the content-addressed store, hash-verified

599}
600
601func (a *App) SaveNewModsForLater(mods []string) {
602 a.mu.Lock()
603 a.ProjectData.SavedNewMods = mods
604 a.ProjectModified = true
605 a.mu.Unlock()
606
607 a.CreateSnapshot()
608 a.emitLog(fmt.Sprintf("Saved %d new mods for later", len(mods)), LogSuccess)
609}
610
611// --- Dependencies ---
612

Callers

nothing calls this directly

Calls 2

CreateSnapshotMethod · 0.95
emitLogMethod · 0.95

Tested by

no test coverage detected