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

Method clearCachedFile

src/base/AnyMap.cpp:1816–1822  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1814}
1815
1816void AnyMap::clearCachedFile(const string& filename)
1817{
1818 string fullName = findInputFile(filename);
1819 if (s_cache.count(fullName)) {
1820 s_cache.erase(fullName);
1821 }
1822}
1823
1824AnyMap AnyMap::fromYamlString(const string& yaml) {
1825 AnyMap amap;

Callers

nothing calls this directly

Calls 2

findInputFileFunction · 0.85
eraseMethod · 0.80

Tested by

no test coverage detected