MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / savePackIgnore

Method savePackIgnore

launcher/ui/dialogs/ExportInstanceDialog.cpp:498–510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496}
497
498void ExportInstanceDialog::savePackIgnore()
499{
500 auto data = proxyModel->blockedPaths().toStringList().join('\n').toUtf8();
501 auto filename = ignoreFileName();
502 try
503 {
504 FS::write(filename, data);
505 }
506 catch (const Exception &e)
507 {
508 qWarning() << e.cause();
509 }
510}
511
512#include "ExportInstanceDialog.moc"

Callers

nothing calls this directly

Calls 3

toStringListMethod · 0.80
causeMethod · 0.80
writeFunction · 0.50

Tested by

no test coverage detected