MCPcopy Create free account
hub / github.com/comaps/comaps / GetCurrentFileInfo

Function GetCurrentFileInfo

3party/minizip/minizip.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45Code GetCurrentFileInfo(File file, FileInfo & info)
46{
47 int constexpr kArraySize = 256;
48 char fileName[kArraySize];
49 auto const result = unzGetCurrentFileInfo64(file, &info.m_info, fileName,
50 kArraySize, nullptr, 0, nullptr, 0);
51 info.m_filename = fileName;
52 return static_cast<Code>(result);
53}
54
55int ReadCurrentFile(unzFile file, Buffer & result)
56{

Callers 4

ParseTrackFileFunction · 0.85
ZipFileReaderMethod · 0.85
FilesListMethod · 0.85
UnzipFileMethod · 0.85

Calls 1

unzGetCurrentFileInfo64Function · 0.85

Tested by

no test coverage detected