MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / getAvailableFileSystemFromName

Method getAvailableFileSystemFromName

source/ui/data/globalSettings.cpp:262–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262std::shared_ptr<FileSystemZip> GlobalSettings::getAvailableFileSystemFromName(BString name, bool mustHaveWine) {
263 for (auto& ver : availableFileSystemVersions) {
264 if (ver->name.compareTo(name, true) == 0 && (!mustHaveWine || ver->hasWine())) {
265 return ver;
266 }
267 }
268 return nullptr;
269}
270
271void GlobalSettings::lookForFileSystems(BString path) {
272 Fs::iterateAllNativeFiles(path, true, false, [](BString filepath, bool isDir)->U32 {

Callers

nothing calls this directly

Calls 2

compareToMethod · 0.80
hasWineMethod · 0.80

Tested by

no test coverage detected