34 references to V7
System.Formats.Tar (34)
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> 80/// <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> 24protected bool FormatIsOctalOnly => _header._format is TarEntryFormat.V7 or TarEntryFormat.Ustar; 102/// <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> 120/// <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> 265/// <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\TarFile.cs (1)
740if (format is < TarEntryFormat.V7 or > TarEntryFormat.Gnu)
System\Formats\Tar\TarHeader.Read.cs (6)
55if (header._format != TarEntryFormat.V7) 395TarEntryType.V7RegularFile => TarEntryFormat.V7, 401_ => (header._typeFlag == TarEntryType.RegularFile) ? TarEntryFormat.Ustar : TarEntryFormat.V7 435_format = TarEntryFormat.V7; 448if (_format == TarEntryFormat.V7) 464if (_format == TarEntryFormat.V7)
System\Formats\Tar\TarHeader.Write.cs (6)
67TarEntryFormat.V7 => FieldLocations.V7Data, 109TarEntryType actualEntryType = TarHelpers.GetCorrectTypeFlagForFormat(TarEntryFormat.V7, _typeFlag); 151return WriteWithUnseekableDataStreamCoreAsync<TAdapter>(TarEntryFormat.V7, archiveStream, buffer, shouldAdvanceToEnd: true, cancellationToken); 155return WriteWithSeekableDataStreamCoreAsync<TAdapter>(TarEntryFormat.V7, archiveStream, buffer, cancellationToken); 351case TarEntryFormat.V7: 375if (_format is TarEntryFormat.V7)
System\Formats\Tar\TarHelpers.cs (3)
178internal static TarEntryType GetRegularFileEntryTypeForFormat(TarEntryFormat format) => format is TarEntryFormat.V7 ? TarEntryType.V7RegularFile : TarEntryType.RegularFile; 185if (format is TarEntryFormat.V7) 289case TarEntryFormat.V7:
System\Formats\Tar\TarReader.cs (1)
222TarEntryFormat.V7 or TarEntryFormat.Unknown or _ => new V7TarEntry(header, this),
System\Formats\Tar\TarWriter.cs (4)
70if (format is not TarEntryFormat.V7 and not TarEntryFormat.Ustar and not TarEntryFormat.Pax and not TarEntryFormat.Gnu) 214/// <para><see cref="TarEntryFormat.V7"/></para> 265/// <para><see cref="TarEntryFormat.V7"/></para> 316TarEntryFormat.V7 => entry._header.WriteAsV7CoreAsync<TAdapter>(_archiveStream, buffer, cancellationToken),
System\Formats\Tar\TarWriter.Unix.cs (1)
67TarEntryFormat.V7 => new V7TarEntry(entryType, entryName),
System\Formats\Tar\TarWriterOptions.cs (1)
21if (value is not TarEntryFormat.V7 and not TarEntryFormat.Ustar and not TarEntryFormat.Pax and not TarEntryFormat.Gnu)
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)