| 100 | } |
| 101 | |
| 102 | void SessionsManager::removeProjectFromSession(const io::path_t& projectPath) |
| 103 | { |
| 104 | io::paths_t projects = configuration()->sessionProjectsPaths(); |
| 105 | if (projects.empty()) { |
| 106 | return; |
| 107 | } |
| 108 | |
| 109 | projects.erase(std::remove(projects.begin(), projects.end(), projectPath), projects.end()); |
| 110 | configuration()->setSessionProjectsPaths(projects); |
| 111 | } |
| 112 | |
| 113 | void SessionsManager::addProjectToSession(const io::path_t& projectPath) |
| 114 | { |
nothing calls this directly
no test coverage detected