MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / savePackIgnore

Method savePackIgnore

launcher/ui/dialogs/ExportInstanceDialog.cpp:211–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211void ExportInstanceDialog::savePackIgnore()
212{
213 auto ignoreData = proxyModel->blockedPaths().toStringList().join('\n').toUtf8();
214 auto filename = ignoreFileName();
215 try {
216 FS::write(filename, ignoreData);
217 } catch (const Exception& e) {
218 qWarning() << e.cause();
219 }
220}

Callers

nothing calls this directly

Calls 3

toStringListMethod · 0.80
causeMethod · 0.80
writeFunction · 0.50

Tested by

no test coverage detected