RingDotNetfor Ring

System.Formats.Tar

10 wrapped types. Load them with using { "System.Formats.Tar" }. Click a class to open it.

GnuTarEntry class sealed · extends PosixTarEntry

System.Formats.Tar.GnuTarEntry · assembly System.Formats.Tar

Constructors

new GnuTarEntry(TarEntryType entryType, string entryName)
new GnuTarEntry(TarEntry other)

Ring: new GnuTarEntry(args) uses one constructor; the others are chosen by the parameter names: new GnuTarEntry().@New([ :param = value ]) or dnNew("GnuTarEntry",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
AccessTimeDateTimeOffsetread, writeo.AccessTime o.AccessTime = v
ChangeTimeDateTimeOffsetread, writeo.ChangeTime o.ChangeTime = v

Members of the base class are inherited.

PaxGlobalExtendedAttributesTarEntry class sealed · extends PosixTarEntry

System.Formats.Tar.PaxGlobalExtendedAttributesTarEntry · assembly System.Formats.Tar

Constructors

new PaxGlobalExtendedAttributesTarEntry(IEnumerable<KeyValuePair<string, string>> globalExtendedAttributes)

Ring: new PaxGlobalExtendedAttributesTarEntry(args) uses one constructor; the others are chosen by the parameter names: new PaxGlobalExtendedAttributesTarEntry().@New([ :param = value ]) or dnNew("PaxGlobalExtendedAttributesTarEntry",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
GlobalExtendedAttributesIReadOnlyDictionary<string, string>reado.GlobalExtendedAttributes

Members of the base class are inherited.

PaxTarEntry class sealed · extends PosixTarEntry

System.Formats.Tar.PaxTarEntry · assembly System.Formats.Tar

Constructors

new PaxTarEntry(TarEntryType entryType, string entryName)
new PaxTarEntry(TarEntryType entryType, string entryName, IEnumerable<KeyValuePair<string, string>> extendedAttributes)
new PaxTarEntry(TarEntry other)

Ring: new PaxTarEntry(args) uses one constructor; the others are chosen by the parameter names: new PaxTarEntry().@New([ :param = value ]) or dnNew("PaxTarEntry",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
ExtendedAttributesIReadOnlyDictionary<string, string>reado.ExtendedAttributes

Members of the base class are inherited.

PosixTarEntry class abstract · extends TarEntry

System.Formats.Tar.PosixTarEntry · assembly System.Formats.Tar

Properties and fields

NameTypeAccessIn Ring
DeviceMajorintread, writeo.DeviceMajor o.DeviceMajor = v
DeviceMinorintread, writeo.DeviceMinor o.DeviceMinor = v
GroupNamestringread, writeo.GroupName o.GroupName = v
UserNamestringread, writeo.UserName o.UserName = v

Members of the base class are inherited.

TarEntry class abstract

System.Formats.Tar.TarEntry · assembly System.Formats.Tar

Properties and fields

NameTypeAccessIn Ring
Checksumintreado.Checksum
EntryTypeTarEntryTypereado.EntryType
FormatTarEntryFormatreado.Format
Gidintread, writeo.Gid o.Gid = v
ModificationTimeDateTimeOffsetread, writeo.ModificationTime o.ModificationTime = v
Lengthlongreado.Length
LinkNamestringread, writeo.LinkName o.LinkName = v
ModeUnixFileModeread, writeo.Mode o.Mode = v
Namestringread, writeo.Name o.Name = v
Uidintread, writeo.Uid o.Uid = v
DataStreamStreamread, writeo.DataStream o.DataStream = v
DataOffsetlongreado.DataOffset

Methods

MethodRing call.NET overloads
ExtractToFilecallMethod("ExtractToFile",[p1,p2])void ExtractToFile(string destinationFileName, bool overwrite)
ExtractToFileAsyncExtractToFileAsync([ :destinationFileName = …, :overwrite = …, :cancellationToken = … ])Task ExtractToFileAsync(string destinationFileName, bool overwrite, CancellationToken cancellationToken = …)
ToStringcallMethod("ToString",[])string ToString()
TarFile class static

System.Formats.Tar.TarFile · assembly System.Formats.Tar

Methods

MethodRing call.NET overloads
CreateFromDirectoryCreateFromDirectory(p1,p2,p3)static void CreateFromDirectory(string sourceDirectoryName, Stream destination, bool includeBaseDirectory)
static void CreateFromDirectory(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory)
CreateFromDirectoryAsyncCreateFromDirectoryAsync([ :sourceDirectoryName = …, :destination = …, :includeBaseDirectory = …, :cancellationToken = … ])
CreateFromDirectoryAsync([ :sourceDirectoryName = …, :destinationFileName = …, :includeBaseDirectory = …, :cancellationToken = … ])
static Task CreateFromDirectoryAsync(string sourceDirectoryName, Stream destination, bool includeBaseDirectory, CancellationToken cancellationToken = …)
static Task CreateFromDirectoryAsync(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory, CancellationToken cancellationToken = …)
ExtractToDirectoryExtractToDirectory(p1,p2,p3)static void ExtractToDirectory(Stream source, string destinationDirectoryName, bool overwriteFiles)
static void ExtractToDirectory(string sourceFileName, string destinationDirectoryName, bool overwriteFiles)
ExtractToDirectoryAsyncExtractToDirectoryAsync([ :source = …, :destinationDirectoryName = …, :overwriteFiles = …, :cancellationToken = … ])
ExtractToDirectoryAsync([ :sourceFileName = …, :destinationDirectoryName = …, :overwriteFiles = …, :cancellationToken = … ])
static Task ExtractToDirectoryAsync(Stream source, string destinationDirectoryName, bool overwriteFiles, CancellationToken cancellationToken = …)
static Task ExtractToDirectoryAsync(string sourceFileName, string destinationDirectoryName, bool overwriteFiles, CancellationToken cancellationToken = …)
TarReader class sealed

System.Formats.Tar.TarReader · assembly System.Formats.Tar

Implements: IDisposable, IAsyncDisposable

Constructors

new TarReader(Stream archiveStream, bool leaveOpen = …)

Ring: new TarReader(args) uses one constructor; the others are chosen by the parameter names: new TarReader().@New([ :param = value ]) or dnNew("TarReader",[ :param = value ]).

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
GetNextEntryGetNextEntry(value)
GetNextEntry([ :copyData = … ])
TarEntry GetNextEntry(bool copyData = …)
GetNextEntryAsyncGetNextEntryAsync([ :copyData = …, :cancellationToken = … ])ValueTask<TarEntry> GetNextEntryAsync(bool copyData = …, CancellationToken cancellationToken = …)
TarWriter class sealed

System.Formats.Tar.TarWriter · assembly System.Formats.Tar

Implements: IDisposable, IAsyncDisposable

Constructors

new TarWriter(Stream archiveStream)
new TarWriter(Stream archiveStream, bool leaveOpen = …)
new TarWriter(Stream archiveStream, TarEntryFormat format = …, bool leaveOpen = …)

Ring: new TarWriter(args) uses one constructor; the others are chosen by the parameter names: new TarWriter().@New([ :param = value ]) or dnNew("TarWriter",[ :param = value ]).

Properties and fields

NameTypeAccessIn Ring
FormatTarEntryFormatreado.Format

Methods

MethodRing call.NET overloads
DisposecallMethod("Dispose",[])void Dispose()
DisposeAsynccallMethod("DisposeAsync",[])ValueTask DisposeAsync()
WriteEntrycallMethod("WriteEntry",[p1])
callMethod("WriteEntry",[p1,p2])
void WriteEntry(string fileName, string entryName)
void WriteEntry(TarEntry entry)
WriteEntryAsyncWriteEntryAsync([ :entry = …, :cancellationToken = … ])
WriteEntryAsync([ :fileName = …, :entryName = …, :cancellationToken = … ])
Task WriteEntryAsync(string fileName, string entryName, CancellationToken cancellationToken = …)
Task WriteEntryAsync(TarEntry entry, CancellationToken cancellationToken = …)
UstarTarEntry class sealed · extends PosixTarEntry

System.Formats.Tar.UstarTarEntry · assembly System.Formats.Tar

Constructors

new UstarTarEntry(TarEntryType entryType, string entryName)
new UstarTarEntry(TarEntry other)

Ring: new UstarTarEntry(args) uses one constructor; the others are chosen by the parameter names: new UstarTarEntry().@New([ :param = value ]) or dnNew("UstarTarEntry",[ :param = value ]).

Members of the base class are inherited.

V7TarEntry class sealed · extends TarEntry

System.Formats.Tar.V7TarEntry · assembly System.Formats.Tar

Constructors

new V7TarEntry(TarEntryType entryType, string entryName)
new V7TarEntry(TarEntry other)

Ring: new V7TarEntry(args) uses one constructor; the others are chosen by the parameter names: new V7TarEntry().@New([ :param = value ]) or dnNew("V7TarEntry",[ :param = value ]).

Members of the base class are inherited.