MCPcopy Create free account
hub / github.com/chigraph/chigraph / cachePathForModule

Method cachePathForModule

libchigraph/src/ModuleCache.cpp:58–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58boost::filesystem::path ModuleCache::cachePathForModule(
59 const boost::filesystem::path& moduleName) const {
60 return context().workspacePath() / "lib" / (moduleName.string() + ".bc");
61}
62
63void ModuleCache::invalidateCache(const boost::filesystem::path& moduleName) {
64 assert(!moduleName.empty() && "Cannot pass empty path to ModuleCache::invalidateCache");

Callers

nothing calls this directly

Calls 1

workspacePathMethod · 0.80

Tested by

no test coverage detected