| 409 | } |
| 410 | |
| 411 | bool 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 | |
| 421 | BoxedApp* BoxedContainer::getAppByIniFile(BString iniFile) { |
| 422 | for (auto& app : this->apps) { |
no test coverage detected