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

Method GetStat

framework/src/bundle/BundleResourceContainer.cpp:99–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 bool
100 BundleResourceContainer::GetStat(BundleResourceContainer::Stat& stat)
101 {
102 OpenAndInitializeContainer();
103 int fileIndex
104 = mz_zip_reader_locate_file(const_cast<mz_zip_archive*>(&m_ZipArchive), stat.filePath.c_str(), nullptr, 0);
105 if (fileIndex >= 0)
106 {
107 return GetStat(fileIndex, stat);
108 }
109 return false;
110 }
111
112 bool
113 BundleResourceContainer::GetStat(int index, BundleResourceContainer::Stat& stat)

Callers 1

BundleResourceMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected