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

Method getFileFromFileSystemName

source/ui/data/globalSettings.cpp:222–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222BString GlobalSettings::getFileFromFileSystemName(BString name) {
223 for (auto& ver : GlobalSettings::fileSystemVersions) {
224 if (ver->name.compareTo(name, true) == 0) {
225 return ver->filePath;
226 }
227 }
228 return B("");
229}
230
231std::shared_ptr<FileSystemZip> GlobalSettings::getInstalledFileSystemFromName(BString name, bool mustHaveWine) {
232 for (auto& ver : GlobalSettings::fileSystemVersions) {

Callers

nothing calls this directly

Calls 2

BFunction · 0.85
compareToMethod · 0.80

Tested by

no test coverage detected