Class ArchiveEntryInfo
- Namespace
- Archiver.Core.Models
- Assembly
- Archiver.Core.dll
One entry inside an archive, as reported by IArchiveService/ITarService's ListEntriesAsync. Flat — Path is the full archive-internal path ('/'-separated, no leading slash). Building a folder hierarchy out of these is an App-layer concern (Archiver.Core has zero WinUI/UI-model references), not Core's.
public sealed record ArchiveEntryInfo : IEquatable<ArchiveEntryInfo>
- Inheritance
-
ArchiveEntryInfo
- Implements
- Inherited Members
Properties
AesVersion
WinZip AE version (1 keeps the real CRC-32, 2 stores 0 and relies on the HMAC); null unless the entry is WinZip AES-encrypted.
public int? AesVersion { get; init; }
Property Value
- int?
CompressedSize
Null for tar-family, 7z and RAR entries: their listing has no per-entry packed size (a compressed tar is one whole stream). 0 is a real size, e.g. an empty ZIP entry.
public long? CompressedSize { get; init; }
Property Value
- long?
Crc32
public uint? Crc32 { get; init; }
Property Value
- uint?
Encryption
Null when the format cannot say without extracting (tar-family, 7z, RAR).
public EntryEncryption? Encryption { get; init; }
Property Value
IsDirectory
public bool IsDirectory { get; init; }
Property Value
Modified
Local time, as the archive's own listing shows it. Tar-family (T-F214): to the minute within half a year of now, else the date only (00:00, ModifiedHasTime false); null when tar.exe's date columns cannot be read.
public DateTime? Modified { get; init; }
Property Value
ModifiedHasTime
False when the listing gave Modified as a date with no time (T-F335).
public bool ModifiedHasTime { get; init; }
Property Value
Path
public required string Path { get; init; }
Property Value
Size
public long Size { get; init; }