58 references to Pax
System.Formats.Tar (58)
System\Formats\Tar\PaxGlobalExtendedAttributesTarEntry.cs (2)
18: base(header, readerOfOrigin, TarEntryFormat.Pax) 28: base(TarEntryType.GlobalExtendedAttributes, nameof(PaxGlobalExtendedAttributesTarEntry), TarEntryFormat.Pax, isGea: true) // Name == name of type for lack of a better temporary name until the entry is written
System\Formats\Tar\PaxTarEntry.cs (5)
19: base(header, readerOfOrigin, TarEntryFormat.Pax) 53: base(entryType, entryName, TarEntryFormat.Pax, isGea: false) 92: base(entryType, entryName, TarEntryFormat.Pax, isGea: false) 110: base(other, TarEntryFormat.Pax) 112if (other._header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax)
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\TarEntry.cs (1)
15/// <remarks>All the properties exposed by this class are supported by the <see cref="TarEntryFormat.V7"/>, <see cref="TarEntryFormat.Ustar"/>, <see cref="TarEntryFormat.Pax"/> and <see cref="TarEntryFormat.Gnu"/> formats.</remarks>
System\Formats\Tar\TarEntryType.cs (1)
14/// <para>This entry type is specific to the <see cref="TarEntryFormat.Ustar"/>, <see cref="TarEntryFormat.Pax"/> and <see cref="TarEntryFormat.Gnu"/> formats.</para>
System\Formats\Tar\TarFile.cs (2)
330using (TarWriter writer = new TarWriter(destination, TarEntryFormat.Pax, leaveOpen)) 384TarWriter writer = new TarWriter(destination, TarEntryFormat.Pax, leaveOpen);
System\Formats\Tar\TarHeader.cs (2)
143TarEntryFormat.Ustar or TarEntryFormat.Pax => UstarMagic, 150TarEntryFormat.Ustar or TarEntryFormat.Pax => UstarVersion,
System\Formats\Tar\TarHeader.Read.cs (3)
78Debug.Assert(header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax or TarEntryFormat.Gnu); 404TarEntryType.GlobalExtendedAttributes => TarEntryFormat.Pax, 473case TarEntryFormat.Ustar or TarEntryFormat.Pax:
System\Formats\Tar\TarHeader.Write.cs (17)
78TarEntryFormat.Ustar or TarEntryFormat.Pax => FieldLocations.PosixData, 130TarEntryFormat.Ustar or TarEntryFormat.Pax => FieldLocations.PosixData, 279TarHeader extendedAttributesHeader = new(TarEntryFormat.Pax); 286WriteWithUnseekableDataStream(TarEntryFormat.Pax, tempStream, buffer, shouldAdvanceToEnd: false); 310WriteWithSeekableDataStream(TarEntryFormat.Pax, archiveStream, buffer); 323TarHeader extendedAttributesHeader = new(TarEntryFormat.Pax); 330await WriteWithUnseekableDataStreamAsync(TarEntryFormat.Pax, tempStream, buffer, shouldAdvanceToEnd: false, cancellationToken).ConfigureAwait(false); 354await WriteWithSeekableDataStreamAsync(TarEntryFormat.Pax, archiveStream, buffer, cancellationToken).ConfigureAwait(false); 463WriteWithSeekableDataStream(TarEntryFormat.Pax, archiveStream, buffer); 472return WriteWithSeekableDataStreamAsync(TarEntryFormat.Pax, archiveStream, buffer, cancellationToken); 493tmpChecksum += WriteCommonFields(buffer, TarHelpers.GetCorrectTypeFlagForFormat(TarEntryFormat.Pax, _typeFlag)); 511case TarEntryFormat.Pax: 649if (_format is not TarEntryFormat.Pax and not TarEntryFormat.Gnu) 707if (_format is not TarEntryFormat.Pax) 725if (_format is not TarEntryFormat.Pax) 1070if (isOctalRange || _format == TarEntryFormat.Pax) 1096if (isOctalRange || _format == TarEntryFormat.Pax)
System\Formats\Tar\TarHelpers.cs (1)
361case TarEntryFormat.Pax:
System\Formats\Tar\TarReader.cs (8)
111/// <para>More than one Global Extended Attributes Entry was found in the current <see cref="TarEntryFormat.Pax"/> archive.</para> 113/// <para>Two or more Extended Attributes entries were found consecutively in the current <see cref="TarEntryFormat.Pax"/> archive.</para></exception> 138TarEntryFormat.Pax => header._typeFlag is TarEntryType.GlobalExtendedAttributes ? 171/// <para>More than one Global Extended Attributes Entry was found in the current <see cref="TarEntryFormat.Pax"/> archive.</para> 173/// <para>Two or more Extended Attributes entries were found consecutively in the current <see cref="TarEntryFormat.Pax"/> archive.</para></exception> 291TarEntryFormat.Pax => header._typeFlag is TarEntryType.GlobalExtendedAttributes ? 401actualHeader = TarHeader.TryGetNextHeader(_archiveStream, copyData, TarEntryFormat.Pax, processDataBlock: false); 434TarHeader? actualHeader = await TarHeader.TryGetNextHeaderAsync(_archiveStream, copyData, TarEntryFormat.Pax, processDataBlock: false, cancellationToken).ConfigureAwait(false);
System\Formats\Tar\TarWriter.cs (13)
27/// <remarks>When using this constructor, <see cref="TarEntryFormat.Pax"/> is used as the default format of the entries written to the archive using the <see cref="WriteEntry(string, string?)"/> method.</remarks> 31: this(archiveStream, TarEntryFormat.Pax, leaveOpen: false) 36/// Initializes a <see cref="TarWriter"/> instance that can write tar entries to the specified stream and optionally leaves the stream open upon disposal of this instance. When using this constructor, the format of the resulting archive is <see cref="TarEntryFormat.Pax"/>. 43: this(archiveStream, TarEntryFormat.Pax, leaveOpen) 52/// <param name="format">The format to use when calling <see cref="WriteEntry(string, string?)"/>. The default value is <see cref="TarEntryFormat.Pax"/>.</param> 55/// <remarks>The recommended format is <see cref="TarEntryFormat.Pax"/> for its flexibility.</remarks> 59public TarWriter(Stream archiveStream, TarEntryFormat format = TarEntryFormat.Pax, bool leaveOpen = false) 68if (format is not TarEntryFormat.V7 and not TarEntryFormat.Ustar and not TarEntryFormat.Pax and not TarEntryFormat.Gnu) 203/// <para><see cref="TarEntryFormat.Ustar"/>, <see cref="TarEntryFormat.Pax"/> and <see cref="TarEntryFormat.Gnu"/></para> 247/// <para><see cref="TarEntryFormat.Ustar"/>, <see cref="TarEntryFormat.Pax"/> and <see cref="TarEntryFormat.Gnu"/></para> 294case TarEntryFormat.Pax: 330TarEntryFormat.Pax when entry._header._typeFlag is TarEntryType.GlobalExtendedAttributes => entry._header.WriteAsPaxGlobalExtendedAttributesAsync(_archiveStream, buffer, _nextGlobalExtendedAttributesEntryNumber++, cancellationToken), 331TarEntryFormat.Pax => entry._header.WriteAsPaxAsync(_archiveStream, buffer, cancellationToken),
System\Formats\Tar\TarWriter.Unix.cs (1)
47TarEntryFormat.Pax => new PaxTarEntry(entryType, entryName),
System\Formats\Tar\UstarTarEntry.cs (1)
47if (other._header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax)