8 instantiations of PaxTarEntry
System.Formats.Tar (8)
System\Formats\Tar\PaxTarEntry.cs (5)
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 additional extended attributes when creating the entry.</para>
67
/// <remarks>When creating an instance using the <see cref="
PaxTarEntry
(TarEntryType, string)"/> constructor, only the following entry types are supported:
145
/// <remarks>The extended attributes are specified when constructing an entry. Use <see cref="
PaxTarEntry
(TarEntryType, string, IEnumerable{KeyValuePair{string, string}})"/> to append your own enumeration of extended attributes to the current entry on top of the default ones. Use <see cref="
PaxTarEntry
(TarEntryType, string)"/> to only use the default 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, entry name, and the default extended attributes.
62
/// Initializes a new <see cref="
PaxTarEntry
"/> instance with the specified entry type, entry name and Extended Attributes enumeration.
104
/// Initializes a new <see cref="
PaxTarEntry
"/> instance by converting the specified <paramref name="other"/> entry into the PAX format.
111
/// <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>
120
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>