mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-17 21:23:27 +00:00
Fixed TotalSize For 7z added TotalUncompressSize Tested for 7z this enables to show progress for the entire archive Added 2 Extract Options: PreserveFileTime And PreserveAttributes. Put All the Log Command under DEBUG Condition.
30 lines
604 B
C#
30 lines
604 B
C#
using System;
|
|
|
|
namespace SharpCompress.Common
|
|
{
|
|
[Flags]
|
|
public enum ExtractOptions
|
|
{
|
|
None,
|
|
|
|
/// <summary>
|
|
/// overwrite target if it exists
|
|
/// </summary>
|
|
Overwrite,
|
|
|
|
/// <summary>
|
|
/// extract with internal directory structure
|
|
/// </summary>
|
|
ExtractFullPath,
|
|
|
|
/// <summary>
|
|
/// preserve file time
|
|
/// </summary>
|
|
PreserveFileTime,
|
|
|
|
/// <summary>
|
|
/// preserve windows file attributes
|
|
/// </summary>
|
|
PreserveAttributes,
|
|
}
|
|
} |