MCPcopy Create free account
hub / github.com/Cantera/cantera / deleteGroup

Method deleteGroup

src/base/Storage.cpp:162–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void 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
173pair<size_t, set<string>> Storage::contents(const string& id) const
174{

Callers 2

writeHeaderMethod · 0.80
writeEntryMethod · 0.80

Calls 2

CanteraErrorClass · 0.85
whatMethod · 0.80

Tested by

no test coverage detected