40 references to V7
Microsoft.Build.Tasks.Core (2)
TarDirectory.cs (2)
483(_, _, TarEntryFormat.V7) => TarEntryType.V7RegularFile, 524TarEntryFormat.V7 => new V7TarEntry(entryType, entryName),
System.Formats.Tar (38)
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) 476TarEntryType.V7RegularFile => TarEntryFormat.V7, 482_ => (header._typeFlag == TarEntryType.RegularFile) ? TarEntryFormat.Ustar : TarEntryFormat.V7 516_format = TarEntryFormat.V7; 529if (_format == TarEntryFormat.V7) 545if (_format == TarEntryFormat.V7)
System\Formats\Tar\TarHeader.Write.cs (9)
78TarEntryFormat.V7 => FieldLocations.V7Data, 120TarEntryFormat.V7 => FieldLocations.V7Data, 162TarEntryType actualEntryType = TarHelpers.GetCorrectTypeFlagForFormat(TarEntryFormat.V7, _typeFlag); 209WriteWithUnseekableDataStream(TarEntryFormat.V7, archiveStream, buffer, shouldAdvanceToEnd: true); 213WriteWithSeekableDataStream(TarEntryFormat.V7, archiveStream, buffer); 224return WriteWithUnseekableDataStreamCoreAsync<TAdapter>(TarEntryFormat.V7, archiveStream, buffer, shouldAdvanceToEnd: true, cancellationToken); 228return WriteWithSeekableDataStreamCoreAsync<TAdapter>(TarEntryFormat.V7, archiveStream, buffer, cancellationToken); 506case TarEntryFormat.V7: 530if (_format is TarEntryFormat.V7)
System\Formats\Tar\TarHelpers.cs (3)
198internal static TarEntryType GetRegularFileEntryTypeForFormat(TarEntryFormat format) => format is TarEntryFormat.V7 ? TarEntryType.V7RegularFile : TarEntryType.RegularFile; 205if (format is TarEntryFormat.V7) 309case TarEntryFormat.V7:
System\Formats\Tar\TarReader.cs (1)
222TarEntryFormat.V7 or TarEntryFormat.Unknown or _ => new V7TarEntry(header, this),
System\Formats\Tar\TarWriter.cs (5)
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> 262/// <para><see cref="TarEntryFormat.V7"/></para> 309case TarEntryFormat.V7: 351TarEntryFormat.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)