34 lines
1007 B
C#
34 lines
1007 B
C#
namespace SharpCompress.Common
|
|
{
|
|
public class ExtractionOptions
|
|
{
|
|
/// <summary>
|
|
/// overwrite target if it exists
|
|
/// </summary>
|
|
public bool Overwrite {get; set; }
|
|
|
|
/// <summary>
|
|
/// extract with internal directory structure
|
|
/// </summary>
|
|
public bool ExtractFullPath { get; set; }
|
|
|
|
/// <summary>
|
|
/// preserve file time
|
|
/// </summary>
|
|
public bool PreserveFileTime { get; set; }
|
|
|
|
/// <summary>
|
|
/// preserve windows file attributes
|
|
/// </summary>
|
|
public bool PreserveAttributes { get; set; }
|
|
|
|
/// <summary>
|
|
/// Delegate for writing symbolic links to disk.
|
|
/// sourcePath is where the symlink is created.
|
|
/// targetPath is what the symlink refers to.
|
|
/// </summary>
|
|
public delegate void SymbolicLinkWriterDelegate(string sourcePath, string targetPath);
|
|
|
|
public SymbolicLinkWriterDelegate WriteSymbolicLink;
|
|
}
|
|
} |