6 instantiations of PaxTarEntry
System.Formats.Tar (6)
System\Formats\Tar\PaxTarEntry.cs (3)
26/// <remarks><para>When creating an instance using the <see cref="PaxTarEntry(TarEntryType, string)"/> constructor, only the following entry types are supported:</para> 31/// <para>Use the <see cref="PaxTarEntry(TarEntryType, string, IEnumerable{KeyValuePair{string, string}})"/> constructor to include extended attributes when creating the entry.</para> 49/// <remarks><para>When creating an instance using the <see cref="PaxTarEntry(TarEntryType, string, IEnumerable{KeyValuePair{string, string}})"/> constructor, only the following entry types are supported:</para>
System\Formats\Tar\TarReader.cs (2)
139new PaxGlobalExtendedAttributesTarEntry(header, this) : new PaxTarEntry(header, this), 274new PaxGlobalExtendedAttributesTarEntry(header, this) : new PaxTarEntry(header, this),
System\Formats\Tar\TarWriter.Unix.cs (1)
69TarEntryFormat.Pax => new PaxTarEntry(entryType, entryName),
21 references to PaxTarEntry
System.Formats.Tar (21)
System\Formats\Tar\PaxTarEntry.cs (5)
22/// Initializes a new <see cref="PaxTarEntry"/> instance with the specified entry type and entry name. 44/// Initializes a new <see cref="PaxTarEntry"/> instance with the specified entry type, entry name and extended attributes. 80/// Initializes a new <see cref="PaxTarEntry"/> instance by converting the specified <paramref name="other"/> entry into the PAX format. 87/// <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 transferred to the <see cref="ExtendedAttributes" /> dictionary only if their values are not <see langword="default"/> (which is <see cref="DateTimeOffset.MinValue"/>).</remarks> 96if (other is PaxTarEntry paxOther)
System\Formats\Tar\PosixTarEntry.cs (5)
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). 51/// <remarks>Character and block devices are Unix-specific entry types. For PAX entries, setting this property updates the corresponding <c>devmajor</c> extended attribute in <see cref="PaxTarEntry.ExtendedAttributes"/>.</remarks> 78/// <remarks>Character and block devices are Unix-specific entry types. For PAX entries, setting this property updates the corresponding <c>devminor</c> extended attribute in <see cref="PaxTarEntry.ExtendedAttributes"/>.</remarks> 106/// <remarks><see cref="GroupName"/> is only used in Unix platforms. For PAX entries, setting this property updates the corresponding <c>gname</c> extended attribute in <see cref="PaxTarEntry.ExtendedAttributes"/>.</remarks> 121/// <remarks><see cref="UserName"/> is only used in Unix platforms. For PAX entries, setting this property updates the corresponding <c>uname</c> extended attribute in <see cref="PaxTarEntry.ExtendedAttributes"/>.</remarks>
System\Formats\Tar\TarEntry.cs (5)
87/// <remarks>This field is only supported in Unix platforms. For PAX entries, setting this property updates the corresponding <c>gid</c> extended attribute in <see cref="PaxTarEntry.ExtendedAttributes"/>.</remarks> 101/// <remarks>In Unix platforms, this timestamp is commonly known as <c>mtime</c>. For PAX entries, setting this property updates the corresponding <c>mtime</c> extended attribute in <see cref="PaxTarEntry.ExtendedAttributes"/>.</remarks> 126/// <remarks>For PAX entries, setting this property updates the corresponding <c>linkpath</c> extended attribute in <see cref="PaxTarEntry.ExtendedAttributes"/>.</remarks> 167/// <remarks>For PAX entries, setting this property updates the corresponding <c>path</c> extended attribute in <see cref="PaxTarEntry.ExtendedAttributes"/>.</remarks> 182/// <remarks>This field is only supported in Unix platforms. For PAX entries, setting this property updates the corresponding <c>uid</c> extended attribute in <see cref="PaxTarEntry.ExtendedAttributes"/>.</remarks>
System\Formats\Tar\TarHeader.Write.cs (2)
744throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(PaxTarEntry.UserName)), ArgNameEntry); 762throw new ArgumentException(SR.Format(SR.TarEntryFieldExceedsMaxLength, nameof(PaxTarEntry.GroupName)), ArgNameEntry);
System\Formats\Tar\TarWriter.cs (4)
164/// <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> 184/// <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> 256/// <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>