'Declaration Public Overloads Shared Function GetTarContents( _ ByVal tarFileName As String, _ ByVal recursive As Boolean, _ ByVal isTarCompressed As Boolean, _ ByVal ParamArray filters() As String _ ) As QuickTarItem()
'Usage Dim tarFileName As String Dim recursive As Boolean Dim isTarCompressed As Boolean Dim filters() As String Dim value() As QuickTarItem value = QuickTar.GetTarContents(tarFileName, recursive, isTarCompressed, filters)
public static QuickTarItem[] GetTarContents( string tarFileName, bool recursive, bool isTarCompressed, params string[] filters )
Parameters
- tarFileName
- The full path of the Tar archive. Cannot be empty and must exist.
- recursive
- Boolean value indicating whether files contained within sub-folders of filesToTar items should be listed.
- isTarCompressed
- Boolean value indicating if the tar file was compressed using GZip. Note: The GZip file retrieved must have the following format: tarFileName.gz. An exception is thrown if the Tar archive is not compressed.
- filters
- Used to filter the contents of the Tar archive.