| 160 | } |
| 161 | |
| 162 | void Storage::deleteGroup(const string& id) |
| 163 | { |
| 164 | try { |
| 165 | m_file->unlink(id); |
| 166 | } catch (const std::exception& err) { |
| 167 | // convert HighFive exception |
| 168 | throw CanteraError("Storage::deleteGroup", |
| 169 | "Encountered exception while deleting group '{}':\n{}", id, err.what()); |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | pair<size_t, set<string>> Storage::contents(const string& id) const |
| 174 | { |
no test coverage detected