Property | Type | Description | |
---|---|---|---|
AddSymlink | void | ||
InternalCreateArchive | void | ||
InternalGetExtractOutputStream | Stream | ||
InternalGetInputStream | Stream | ||
InternalGetOutputArchiveStream | Stream | ||
InternalListOrExtract | List |
||
ListOrExtract | List |
Method | Description | |
---|---|---|
AddDirectory ( string dirName, string parent = null ) : void |
Adds a directory to the tar archive
|
|
AddFile ( string fullName, string directory = null ) : void |
Adds a file to the tar Archive
|
|
CreateArchive ( string outputFile, IEnumerable |
Create a tar archive with the given name, and containing the given set of files or directories, and using GZIP compression by default.
|
|
Extract ( string archive, string extractDirectory, Options options = null ) : ReadOnlyCollection |
Extract the named tar archive to a specified directory
|
|
List ( string archive ) : ReadOnlyCollection |
Get a list of the TarEntry items contained within the named archive.
|
Method | Description | |
---|---|---|
AddSymlink ( string name ) : void |
Adds a symbolic link to a Tar archive
|
|
InternalCreateArchive ( string outputFile, IEnumerable |
||
InternalGetExtractOutputStream ( string name, string extractDirectory ) : Stream | ||
InternalGetInputStream ( string archive ) : Stream | ||
InternalGetOutputArchiveStream ( string filename ) : Stream | ||
InternalListOrExtract ( string archive, string extractDirectory, bool wantExtract ) : List |
||
ListOrExtract ( string archive, string extractDirectory, bool wantExtract, Options options ) : List |
public AddDirectory ( string dirName, string parent = null ) : void | ||
dirName | string | The path to the directory |
parent | string | |
return | void |
public AddFile ( string fullName, string directory = null ) : void | ||
fullName | string | The file to add to the archive |
directory | string | |
return | void |
public static CreateArchive ( string outputFile, IEnumerable |
||
outputFile | string | The name of the tar archive to create. The file must not exist at the time of the call. |
filesOrDirectories | IEnumerable |
A list of filenames and/or directory names to be added to the archive. |
options | Options | The options to use during Tar operation. |
return | void |
public static Extract ( string archive, string extractDirectory, Options options = null ) : ReadOnlyCollection |
||
archive | string | The name of the tar archive to extract. |
extractDirectory | string | The directory to extract the archive |
options | Options | A set of options for extracting. |
return | ReadOnlyCollection |
public static List ( string archive ) : ReadOnlyCollection |
||
archive | string | The name of the tar archive. |
return | ReadOnlyCollection |