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
| Name | Type | Access | In Ring |
|---|---|---|---|
AccessTime | DateTimeOffset | read, write | o.AccessTime o.AccessTime = v |
ChangeTime | DateTimeOffset | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
GlobalExtendedAttributes | IReadOnlyDictionary<string, string> | read | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
ExtendedAttributes | IReadOnlyDictionary<string, string> | read | o.ExtendedAttributes |
Members of the base class are inherited.
PosixTarEntry class abstract · extends TarEntry
System.Formats.Tar.PosixTarEntry · assembly System.Formats.Tar
Properties and fields
| Name | Type | Access | In Ring |
|---|---|---|---|
DeviceMajor | int | read, write | o.DeviceMajor o.DeviceMajor = v |
DeviceMinor | int | read, write | o.DeviceMinor o.DeviceMinor = v |
GroupName | string | read, write | o.GroupName o.GroupName = v |
UserName | string | read, write | o.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
| Name | Type | Access | In Ring |
|---|---|---|---|
Checksum | int | read | o.Checksum |
EntryType | TarEntryType | read | o.EntryType |
Format | TarEntryFormat | read | o.Format |
Gid | int | read, write | o.Gid o.Gid = v |
ModificationTime | DateTimeOffset | read, write | o.ModificationTime o.ModificationTime = v |
Length | long | read | o.Length |
LinkName | string | read, write | o.LinkName o.LinkName = v |
Mode | UnixFileMode | read, write | o.Mode o.Mode = v |
Name | string | read, write | o.Name o.Name = v |
Uid | int | read, write | o.Uid o.Uid = v |
DataStream | Stream | read, write | o.DataStream o.DataStream = v |
DataOffset | long | read | o.DataOffset |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
ExtractToFile | callMethod("ExtractToFile",[p1,p2]) | void ExtractToFile(string destinationFileName, bool overwrite) |
ExtractToFileAsync | ExtractToFileAsync([ :destinationFileName = …, :overwrite = …, :cancellationToken = … ]) | Task ExtractToFileAsync(string destinationFileName, bool overwrite, CancellationToken cancellationToken = …) |
ToString | callMethod("ToString",[]) | string ToString() |
TarFile class static
System.Formats.Tar.TarFile · assembly System.Formats.Tar
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
CreateFromDirectory | CreateFromDirectory(p1,p2,p3) | static void CreateFromDirectory(string sourceDirectoryName, Stream destination, bool includeBaseDirectory)static void CreateFromDirectory(string sourceDirectoryName, string destinationFileName, bool includeBaseDirectory) |
CreateFromDirectoryAsync | CreateFromDirectoryAsync([ :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 = …) |
ExtractToDirectory | ExtractToDirectory(p1,p2,p3) | static void ExtractToDirectory(Stream source, string destinationDirectoryName, bool overwriteFiles)static void ExtractToDirectory(string sourceFileName, string destinationDirectoryName, bool overwriteFiles) |
ExtractToDirectoryAsync | ExtractToDirectoryAsync([ :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
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
DisposeAsync | callMethod("DisposeAsync",[]) | ValueTask DisposeAsync() |
GetNextEntry | GetNextEntry(value)GetNextEntry([ :copyData = … ]) | TarEntry GetNextEntry(bool copyData = …) |
GetNextEntryAsync | GetNextEntryAsync([ :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
| Name | Type | Access | In Ring |
|---|---|---|---|
Format | TarEntryFormat | read | o.Format |
Methods
| Method | Ring call | .NET overloads |
|---|---|---|
Dispose | callMethod("Dispose",[]) | void Dispose() |
DisposeAsync | callMethod("DisposeAsync",[]) | ValueTask DisposeAsync() |
WriteEntry | callMethod("WriteEntry",[p1])callMethod("WriteEntry",[p1,p2]) | void WriteEntry(string fileName, string entryName)void WriteEntry(TarEntry entry) |
WriteEntryAsync | WriteEntryAsync([ :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.