37 references to V7
System.Formats.Tar (37)
System\Formats\Tar\PosixTarEntry.cs (2)
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 (5)
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>
115
/// <remarks>The entry type that commonly contains data is <see cref="TarEntryType.RegularFile"/> (or <see cref="TarEntryType.V7RegularFile"/> in the <see cref="TarEntryFormat.
V7
"/> format). Other uncommon entry types that can also contain data are: <see cref="TarEntryType.ContiguousFile"/>, <see cref="TarEntryType.DirectoryList"/>, <see cref="TarEntryType.MultiVolume"/> and <see cref="TarEntryType.SparseFile"/>.</remarks>
250
/// <exception cref="InvalidOperationException">Setting a data section is not supported because the <see cref="EntryType"/> is not <see cref="TarEntryType.RegularFile"/> (or <see cref="TarEntryType.V7RegularFile"/> for an archive of <see cref="TarEntryFormat.
V7
"/> format).</exception>
System\Formats\Tar\TarEntryType.cs (1)
82
/// <para>This entry type is specific to the <see cref="TarEntryFormat.
V7
"/> format.</para>
System\Formats\Tar\TarHeader.Read.cs (6)
72
if (header._format != TarEntryFormat.
V7
)
416
TarEntryType.V7RegularFile => TarEntryFormat.
V7
,
422
_ => (header._typeFlag == TarEntryType.RegularFile) ? TarEntryFormat.Ustar : TarEntryFormat.
V7
438
_format = TarEntryFormat.
V7
;
451
if (_format == TarEntryFormat.
V7
)
467
if (_format == TarEntryFormat.
V7
)
System\Formats\Tar\TarHeader.Write.cs (9)
80
TarEntryFormat.
V7
=> FieldLocations.V7Data,
132
TarEntryFormat.
V7
=> FieldLocations.V7Data,
174
TarEntryType actualEntryType = TarHelpers.GetCorrectTypeFlagForFormat(TarEntryFormat.
V7
, _typeFlag);
226
WriteWithUnseekableDataStream(TarEntryFormat.
V7
, archiveStream, buffer, shouldAdvanceToEnd: true);
230
WriteWithSeekableDataStream(TarEntryFormat.
V7
, archiveStream, buffer);
240
return WriteWithUnseekableDataStreamAsync(TarEntryFormat.
V7
, archiveStream, buffer, shouldAdvanceToEnd: true, cancellationToken);
244
return WriteWithSeekableDataStreamAsync(TarEntryFormat.
V7
, archiveStream, buffer, cancellationToken);
541
case TarEntryFormat.
V7
:
565
if (_format is TarEntryFormat.
V7
)
System\Formats\Tar\TarHelpers.cs (2)
202
if (format is TarEntryFormat.
V7
)
336
case TarEntryFormat.
V7
:
System\Formats\Tar\TarReader.cs (2)
142
TarEntryFormat.
V7
or TarEntryFormat.Unknown or _ => new V7TarEntry(header, this),
295
TarEntryFormat.
V7
or TarEntryFormat.Unknown or _ => new V7TarEntry(header, this),
System\Formats\Tar\TarWriter.cs (5)
71
if (format is not TarEntryFormat.
V7
and not TarEntryFormat.Ustar and not TarEntryFormat.Pax and not TarEntryFormat.Gnu)
205
/// <para><see cref="TarEntryFormat.
V7
"/></para>
253
/// <para><see cref="TarEntryFormat.
V7
"/></para>
301
case TarEntryFormat.
V7
:
343
TarEntryFormat.
V7
=> entry._header.WriteAsV7Async(_archiveStream, buffer, cancellationToken),
System\Formats\Tar\TarWriter.Unix.cs (2)
36
Interop.Sys.FileTypes.S_IFREG => Format is TarEntryFormat.
V7
? TarEntryType.V7RegularFile : TarEntryType.RegularFile,
45
TarEntryFormat.
V7
=> new V7TarEntry(entryType, entryName),
System\Formats\Tar\V7TarEntry.cs (3)
13
: base(header, readerOfOrigin, TarEntryFormat.
V7
)
28
: base(entryType, entryName, TarEntryFormat.
V7
, isGea: false)
39
: base(other, TarEntryFormat.
V7
)