32 references to Ustar
System.Formats.Tar (32)
System\Formats\Tar\PaxTarEntry.cs (1)
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\TarHeader.cs (2)
141TarEntryFormat.Ustar or TarEntryFormat.Pax => UstarMagic, 148TarEntryFormat.Ustar or TarEntryFormat.Pax => UstarVersion,
System\Formats\Tar\TarHeader.Read.cs (5)
78Debug.Assert(header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax or TarEntryFormat.Gnu); 79if (header._format == TarEntryFormat.Ustar) 419_ => (header._typeFlag == TarEntryType.RegularFile) ? TarEntryFormat.Ustar : TarEntryFormat.V7 451_format = TarEntryFormat.Ustar; 472case TarEntryFormat.Ustar or TarEntryFormat.Pax:
System\Formats\Tar\TarHeader.Write.cs (8)
74TarEntryFormat.Ustar or TarEntryFormat.Pax => FieldLocations.PosixData, 123TarEntryFormat.Ustar or TarEntryFormat.Pax => FieldLocations.PosixData, 171TarEntryType actualEntryType = TarHelpers.GetCorrectTypeFlagForFormat(TarEntryFormat.Ustar, _typeFlag); 240WriteWithUnseekableDataStream(TarEntryFormat.Ustar, archiveStream, buffer, shouldAdvanceToEnd: true); 244WriteWithSeekableDataStream(TarEntryFormat.Ustar, archiveStream, buffer); 254return WriteWithUnseekableDataStreamAsync(TarEntryFormat.Ustar, archiveStream, buffer, shouldAdvanceToEnd: true, cancellationToken); 258return WriteWithSeekableDataStreamAsync(TarEntryFormat.Ustar, archiveStream, buffer, cancellationToken); 498case TarEntryFormat.Ustar:
System\Formats\Tar\TarHelpers.cs (1)
325case TarEntryFormat.Ustar:
System\Formats\Tar\TarReader.cs (2)
141TarEntryFormat.Ustar => new UstarTarEntry(header, this), 294TarEntryFormat.Ustar => new UstarTarEntry(header, this),
System\Formats\Tar\TarWriter.cs (5)
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> 290case TarEntryFormat.Ustar: 329TarEntryFormat.Ustar => entry._header.WriteAsUstarAsync(_archiveStream, buffer, cancellationToken),
System\Formats\Tar\TarWriter.Unix.cs (1)
46TarEntryFormat.Ustar => new UstarTarEntry(entryType, entryName),
System\Formats\Tar\UstarTarEntry.cs (4)
13: base(header, readerOfOrigin, TarEntryFormat.Ustar) 33: base(entryType, entryName, TarEntryFormat.Ustar, isGea: false) 45: base(other, TarEntryFormat.Ustar) 47if (other._header._format is TarEntryFormat.Ustar or TarEntryFormat.Pax)