33 references to V7
System.Formats.Tar (33)
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> 109/// <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> 244/// <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)
70if (header._format != TarEntryFormat.V7) 413TarEntryType.V7RegularFile => TarEntryFormat.V7, 419_ => (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 (9)
73TarEntryFormat.V7 => FieldLocations.V7Data, 122TarEntryFormat.V7 => FieldLocations.V7Data, 161TarEntryType actualEntryType = TarHelpers.GetCorrectTypeFlagForFormat(TarEntryFormat.V7, _typeFlag); 213WriteWithUnseekableDataStream(TarEntryFormat.V7, archiveStream, buffer, shouldAdvanceToEnd: true); 217WriteWithSeekableDataStream(TarEntryFormat.V7, archiveStream, buffer); 227return WriteWithUnseekableDataStreamAsync(TarEntryFormat.V7, archiveStream, buffer, shouldAdvanceToEnd: true, cancellationToken); 231return WriteWithSeekableDataStreamAsync(TarEntryFormat.V7, archiveStream, buffer, cancellationToken); 495case TarEntryFormat.V7: 519if (_format is TarEntryFormat.V7)
System\Formats\Tar\TarHelpers.cs (2)
203if (format is TarEntryFormat.V7) 314case TarEntryFormat.V7:
System\Formats\Tar\TarReader.cs (2)
142TarEntryFormat.V7 or TarEntryFormat.Unknown or _ => new V7TarEntry(header, this), 295TarEntryFormat.V7 or TarEntryFormat.Unknown or _ => new V7TarEntry(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) 194/// <para><see cref="TarEntryFormat.V7"/></para> 238/// <para><see cref="TarEntryFormat.V7"/></para> 286case TarEntryFormat.V7: 328TarEntryFormat.V7 => entry._header.WriteAsV7Async(_archiveStream, buffer, cancellationToken),
System\Formats\Tar\TarWriter.Unix.cs (2)
36Interop.Sys.FileTypes.S_IFREG => Format is TarEntryFormat.V7 ? TarEntryType.V7RegularFile : TarEntryType.RegularFile, 45TarEntryFormat.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)