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

Method addNewMount

source/ui/data/boxedContainer.cpp:411–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411bool BoxedContainer::addNewMount(const MountInfo& mountInfo) {
412 for (auto& mount : this->mounts) {
413 if (mount.localPath == mountInfo.localPath) {
414 return false;
415 }
416 }
417 this->mounts.push_back(mountInfo);
418 return true;
419}
420
421BoxedApp* BoxedContainer::getAppByIniFile(BString iniFile) {
422 for (auto& app : this->apps) {

Callers 2

saveChangesMethod · 0.80
onInstallMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected