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

Method GetStat

Modules/CppMicroServices/src/usModuleResourceContainer.cpp:97–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97bool ModuleResourceContainer::GetStat(ModuleResourceContainer::Stat& stat) const
98{
99 if (IsValid())
100 {
101 int fileIndex = us_mz_zip_reader_locate_file(&d->m_ZipArchive, stat.filePath.c_str(), nullptr, 0);
102 if (fileIndex >= 0)
103 {
104 return GetStat(fileIndex, stat);
105 }
106 }
107 return false;
108}
109
110bool ModuleResourceContainer::GetStat(int index, ModuleResourceContainer::Stat& stat) const
111{

Callers 1

ModuleResourceMethod · 0.80

Tested by

no test coverage detected