mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-11-15 17:02:03 +00:00
Merge pull request #1443 from adamhathcock/fix/1441-sevenzip-libarchive-attributes
Fix 7z writer attribute interoperability with libarchive
This commit is contained in:
@@ -13,7 +13,9 @@ internal sealed class SevenZipWriteEntry
|
||||
{
|
||||
public string Name { get; init; } = string.Empty;
|
||||
public DateTime? ModificationTime { get; init; }
|
||||
public uint? Attributes { get; init; }
|
||||
|
||||
// Define attributes for files too: libarchive misreads partially defined vectors.
|
||||
public uint? Attributes { get; init; } = 0x20; // FILE_ATTRIBUTE_ARCHIVE
|
||||
public bool IsDirectory { get; init; }
|
||||
public bool IsEmpty { get; init; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user