◆ Flags
◆ ArchiveFile_Zip()
| ArchiveFile_Zip::ArchiveFile_Zip |
( |
const PFile & |
file, |
|
|
off_t |
ofs, |
|
|
off_t |
csize, |
|
|
std::uint32_t |
checksum, |
|
|
ZipMethod |
method |
|
) |
| |
|
inline |
◆ AdjustOffset()
| void ArchiveFile_Zip::AdjustOffset |
( |
| ) |
const |
|
inlineprivate |
fix up m_ofs (adjust it to point to cdata instead of the LFH).
note: we cannot use CDFH filename and extra field lengths to skip past LFH since that may not mirror CDFH (has happened).
this is called at file-open time instead of while mounting to reduce seeks: since reading the file will typically follow, the block cache entirely absorbs the IO cost.
◆ Load()
| Status ArchiveFile_Zip::Load |
( |
const OsPath & |
, |
|
|
const std::span< std::uint8_t > |
buffer |
|
) |
| const |
|
inlineoverridevirtual |
◆ LocationCode()
| wchar_t ArchiveFile_Zip::LocationCode |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Path()
| const OsPath & ArchiveFile_Zip::Path |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ Precedence()
| size_t ArchiveFile_Zip::Precedence |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ m_checksum
| std::uint32_t ArchiveFile_Zip::m_checksum |
|
private |
◆ m_csize
| off_t ArchiveFile_Zip::m_csize |
|
private |
◆ m_file
| PFile ArchiveFile_Zip::m_file |
|
private |
◆ m_flags
| std::uint16_t ArchiveFile_Zip::m_flags |
|
mutableprivate |
◆ m_method
| std::uint16_t ArchiveFile_Zip::m_method |
|
private |
◆ m_ofs
| off_t ArchiveFile_Zip::m_ofs |
|
mutableprivate |
The documentation for this class was generated from the following file:
- /home/jenkins/jenkins/workspace/technical-docs/source/lib/file/archive/archive_zip.cpp