36 references to Ustar
System.Formats.Tar (36)
System\Formats\Tar\PaxTarEntry.cs (1)
112
if (other._header._format is TarEntryFormat.
Ustar
or TarEntryFormat.Pax)
System\Formats\Tar\PosixTarEntry.cs (3)
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).
53
/// <exception cref="ArgumentOutOfRangeException">The value is negative, or larger than 2097151 when using <see cref="TarEntryFormat.V7"/> or <see cref="TarEntryFormat.
Ustar
"/>.</exception>
79
/// <exception cref="ArgumentOutOfRangeException">The value is negative, or larger than 2097151 when using <see cref="TarEntryFormat.V7"/> or <see cref="TarEntryFormat.
Ustar
"/>.</exception>
System\Formats\Tar\TarEntry.cs (3)
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>
24
protected bool FormatIsOctalOnly => _header._format is TarEntryFormat.V7 or TarEntryFormat.
Ustar
;
98
/// <exception cref="ArgumentOutOfRangeException">The specified value is larger than <see cref="DateTimeOffset.UnixEpoch"/> when using <see cref="TarEntryFormat.V7"/> or <see cref="TarEntryFormat.
Ustar
"/>.</exception>
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)
143
TarEntryFormat.
Ustar
or TarEntryFormat.Pax => UstarMagic,
150
TarEntryFormat.
Ustar
or TarEntryFormat.Pax => UstarVersion,
System\Formats\Tar\TarHeader.Read.cs (5)
78
Debug.Assert(header._format is TarEntryFormat.
Ustar
or TarEntryFormat.Pax or TarEntryFormat.Gnu);
79
if (header._format == TarEntryFormat.
Ustar
)
420
_ => (header._typeFlag == TarEntryType.RegularFile) ? TarEntryFormat.
Ustar
: TarEntryFormat.V7
452
_format = TarEntryFormat.
Ustar
;
473
case TarEntryFormat.
Ustar
or TarEntryFormat.Pax:
System\Formats\Tar\TarHeader.Write.cs (8)
78
TarEntryFormat.
Ustar
or TarEntryFormat.Pax => FieldLocations.PosixData,
130
TarEntryFormat.
Ustar
or TarEntryFormat.Pax => FieldLocations.PosixData,
181
TarEntryType actualEntryType = TarHelpers.GetCorrectTypeFlagForFormat(TarEntryFormat.
Ustar
, _typeFlag);
250
WriteWithUnseekableDataStream(TarEntryFormat.
Ustar
, archiveStream, buffer, shouldAdvanceToEnd: true);
254
WriteWithSeekableDataStream(TarEntryFormat.
Ustar
, archiveStream, buffer);
264
return WriteWithUnseekableDataStreamAsync(TarEntryFormat.
Ustar
, archiveStream, buffer, shouldAdvanceToEnd: true, cancellationToken);
268
return WriteWithSeekableDataStreamAsync(TarEntryFormat.
Ustar
, archiveStream, buffer, cancellationToken);
508
case TarEntryFormat.
Ustar
:
System\Formats\Tar\TarHelpers.cs (1)
347
case TarEntryFormat.
Ustar
:
System\Formats\Tar\TarReader.cs (2)
141
TarEntryFormat.
Ustar
=> new UstarTarEntry(header, this),
294
TarEntryFormat.
Ustar
=> new UstarTarEntry(header, this),
System\Formats\Tar\TarWriter.cs (5)
68
if (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>
290
case TarEntryFormat.
Ustar
:
329
TarEntryFormat.
Ustar
=> entry._header.WriteAsUstarAsync(_archiveStream, buffer, cancellationToken),
System\Formats\Tar\TarWriter.Unix.cs (1)
46
TarEntryFormat.
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
)
47
if (other._header._format is TarEntryFormat.
Ustar
or TarEntryFormat.Pax)