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

Method getEntryForIndex

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

Source from the content-addressed store, hash-verified

50}
51
52ValdiModuleArchiveEntry ValdiModuleArchive::getEntryForIndex(size_t index) const {
53 SC_ASSERT(index < _orderedEntryPaths.size());
54 auto entry = getEntry(_orderedEntryPaths[index]);
55 SC_ASSERT(entry);
56 return entry.value();
57}
58
59bool ValdiModuleArchive::operator==(const ValdiModuleArchive& other) const {
60 return _decompressedContent == other._decompressedContent;

Callers 1

Calls 2

valueMethod · 0.65
sizeMethod · 0.45

Tested by

no test coverage detected