MCPcopy Create free account
hub / github.com/CppMicroServices/CppMicroServices / GetResource

Method GetResource

framework/src/bundle/Bundle.cpp:311–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309 }
310
311 BundleResource
312 Bundle::GetResource(std::string const& path) const
313 {
314 if (!d)
315 {
316 throw std::invalid_argument("invalid bundle");
317 }
318
319 d->CheckUninstalled();
320 return d->barchive ? d->barchive->GetResource(path) : BundleResource();
321 }
322
323 std::vector<BundleResource>
324 Bundle::FindResources(std::string const& path, std::string const& filePattern, bool recurse) const

Callers 6

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TESTFunction · 0.45
BundlePrivateMethod · 0.45
resourceExampleFunction · 0.45
extenderPatternFunction · 0.45

Calls 2

CheckUninstalledMethod · 0.80
BundleResourceClass · 0.70

Tested by 3

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36