7 instantiations of PaxTarEntry
System.Formats.Tar (7)
System\Formats\Tar\PaxTarEntry.cs (4)
28
/// <remarks><para>When creating an instance using the <see cref="
PaxTarEntry
(TarEntryType, string)"/> constructor, only the following entry types are supported:</para>
33
/// <para>Use the <see cref="
PaxTarEntry
(TarEntryType, string, IEnumerable{KeyValuePair{string, string}})"/> constructor to include extended attributes when creating the entry.</para>
51
/// <remarks>When creating an instance using the <see cref="
PaxTarEntry
(TarEntryType, string)"/> constructor, only the following entry types are supported:
113
/// <remarks>The extended attributes are specified when constructing an entry and updated with additional attributes when the entry is written. Use <see cref="
PaxTarEntry
(TarEntryType, string, IEnumerable{KeyValuePair{string, string}})"/> to append custom extended attributes.
System\Formats\Tar\TarReader.cs (2)
139
new PaxGlobalExtendedAttributesTarEntry(header, this) : new
PaxTarEntry
(header, this),
292
new PaxGlobalExtendedAttributesTarEntry(header, this) : new
PaxTarEntry
(header, this),
System\Formats\Tar\TarWriter.Unix.cs (1)
47
TarEntryFormat.Pax => new
PaxTarEntry
(entryType, entryName),
12 references to PaxTarEntry
System.Formats.Tar (12)
System\Formats\Tar\PaxTarEntry.cs (5)
24
/// Initializes a new <see cref="
PaxTarEntry
"/> instance with the specified entry type and entry name.
46
/// Initializes a new <see cref="
PaxTarEntry
"/> instance with the specified entry type, entry name and extended attributes.
77
/// Initializes a new <see cref="
PaxTarEntry
"/> instance by converting the specified <paramref name="other"/> entry into the PAX format.
84
/// <remarks>When converting a <see cref="GnuTarEntry"/> to <see cref="
PaxTarEntry
"/> using this constructor, the <see cref="GnuTarEntry.AccessTime"/> and <see cref="GnuTarEntry.ChangeTime"/> values will get transfered to the <see cref="ExtendedAttributes" /> dictionary only if their values are not <see langword="default"/> (which is <see cref="DateTimeOffset.MinValue"/>).</remarks>
93
if (other is
PaxTarEntry
paxOther)
System\Formats\Tar\PosixTarEntry.cs (1)
9
/// Abstract class that represents a tar entry from an archive of a format that is based on the POSIX IEEE P1003.1 standard from 1988. This includes the formats <see cref="TarEntryFormat.Ustar"/> (represented by the <see cref="UstarTarEntry"/> class), <see cref="TarEntryFormat.Pax"/> (represented by the <see cref="
PaxTarEntry
"/> class) and <see cref="TarEntryFormat.Gnu"/> (represented by the <see cref="GnuTarEntry"/> class).
System\Formats\Tar\TarHeader.Write.cs (2)
745
throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(
PaxTarEntry
.UserName)), ArgNameEntry);
763
throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(
PaxTarEntry
.GroupName)), ArgNameEntry);
System\Formats\Tar\TarWriter.cs (4)
141
/// <para>If the format is <see cref="TarEntryFormat.Pax"/>, the <c>atime</c> and <c>ctime</c> from the file will be stored in the <see cref="
PaxTarEntry
.ExtendedAttributes"/> dictionary. If the format is <see cref="TarEntryFormat.Gnu"/>, this method will not set a value for <see cref="GnuTarEntry.AccessTime"/> and <see cref="GnuTarEntry.ChangeTime"/> because most TAR tools do not support these fields for this format.</para>
161
/// <para>If the format is <see cref="TarEntryFormat.Pax"/>, the <c>atime</c> and <c>ctime</c> from the file will be stored in the <see cref="
PaxTarEntry
.ExtendedAttributes"/> dictionary. If the format is <see cref="TarEntryFormat.Gnu"/>, this method will not set a value for <see cref="GnuTarEntry.AccessTime"/> and <see cref="GnuTarEntry.ChangeTime"/> because most TAR tools do not support these fields for this format.</para>
233
/// <para>To ensure an entry preserves the <c>atime</c> and <c>ctime</c> values and it is readable by other tools, it is recommended to convert the entry to <see cref="
PaxTarEntry
"/> instead. In that format, the two values get stored in the <see cref="
PaxTarEntry
.ExtendedAttributes"/>. The <see cref="TarEntryFormat.Pax"/> format is used as the default format by <see cref="TarWriter"/> as it is the most flexible and POSIX compatible.</para>