MCPcopy Create free account
hub / github.com/Snapchat/Valdi / containsEntry

Method containsEntry

valdi/src/valdi/runtime/Resources/ValdiModuleArchive.cpp:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33ValdiModuleArchive::~ValdiModuleArchive() = default;
34
35bool ValdiModuleArchive::containsEntry(const Valdi::StringBox& path) const {
36 return _entries.find(path) != _entries.end();
37}
38
39std::optional<ValdiModuleArchiveEntry> ValdiModuleArchive::getEntry(const Valdi::StringBox& path) const {
40 const auto& it = _entries.find(path);

Callers 2

initializeBundleMethod · 0.80
getBundleMethod · 0.80

Calls 2

endMethod · 0.65
findMethod · 0.45

Tested by

no test coverage detected