343 references to TarEntryType
aspire (6)
Bundles\BundleService.cs (3)
269case TarEntryType.Directory: 273case TarEntryType.RegularFile: 288case TarEntryType.SymbolicLink:
Utils\ArchiveHelper.cs (3)
97case TarEntryType.Directory: 101case TarEntryType.RegularFile: 116case TarEntryType.SymbolicLink:
Microsoft.NET.Build.Containers (11)
Layer.cs (4)
101var entry = new PaxTarEntry(TarEntryType.Directory, "Files", entryAttributes); 135var entry = new PaxTarEntry(TarEntryType.Directory, "Hives", entryAttributes); 161entry = new(TarEntryType.RegularFile, containerPath, entryAttributes) 168entry = new(TarEntryType.Directory, containerPath, entryAttributes);
LocalDaemons\DockerCli.cs (7)
461PaxTarEntry configEntry = new(TarEntryType.RegularFile, configPath) 492PaxTarEntry manifestEntry = new(TarEntryType.RegularFile, "manifest.json") 530PaxTarEntry layoutEntry = new(TarEntryType.RegularFile, ociLayoutPath) 548PaxTarEntry manifestEntry = new(TarEntryType.RegularFile, manifestPath) 573PaxTarEntry indexEntry = new(TarEntryType.RegularFile, "index.json") 637PaxTarEntry indexEntry = new(TarEntryType.RegularFile, manifestListPath) 656PaxTarEntry indexEntry = new(TarEntryType.RegularFile, "index.json")
sdk-tasks (1)
ExtractArchiveToDirectory.cs (1)
122if (tarEntry.EntryType != TarEntryType.Directory)
System.Formats.Tar (325)
System\Formats\Tar\GnuTarEntry.cs (10)
27/// <para>When creating an instance using the <see cref="GnuTarEntry(TarEntryType, string)"/> constructor, only the following entry types are supported:</para> 29/// <item>In all platforms: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/>, <see cref="TarEntryType.RegularFile"/>.</item> 30/// <item>In Unix platforms only: <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> and <see cref="TarEntryType.Fifo"/>.</item> 37public GnuTarEntry(TarEntryType entryType, string entryName) 100internal override bool IsDataStreamSetterSupported() => EntryType is TarEntryType.RegularFile;
System\Formats\Tar\PaxGlobalExtendedAttributesTarEntry.cs (1)
26: base(TarEntryType.GlobalExtendedAttributes, nameof(PaxGlobalExtendedAttributesTarEntry), TarEntryFormat.Pax, isGea: true) // Name == name of type for lack of a better temporary name until the entry is written
System\Formats\Tar\PaxTarEntry.cs (20)
26/// <remarks><para>When creating an instance using the <see cref="PaxTarEntry(TarEntryType, string)"/> constructor, only the following entry types are supported:</para> 28/// <item>In all platforms: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/>, <see cref="TarEntryType.RegularFile"/>.</item> 29/// <item>In Unix platforms only: <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> and <see cref="TarEntryType.Fifo"/>.</item> 31/// <para>Use the <see cref="PaxTarEntry(TarEntryType, string, IEnumerable{KeyValuePair{string, string}})"/> constructor to include extended attributes when creating the entry.</para> 37public PaxTarEntry(TarEntryType entryType, string entryName) 49/// <remarks><para>When creating an instance using the <see cref="PaxTarEntry(TarEntryType, string, IEnumerable{KeyValuePair{string, string}})"/> constructor, only the following entry types are supported:</para> 51/// <item>In all platforms: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/>, <see cref="TarEntryType.RegularFile"/>.</item> 52/// <item>In Unix platforms only: <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> and <see cref="TarEntryType.Fifo"/>.</item> 66public PaxTarEntry(TarEntryType entryType, string entryName, IEnumerable<KeyValuePair<string, string>> extendedAttributes) 132internal override bool IsDataStreamSetterSupported() => EntryType == TarEntryType.RegularFile;
System\Formats\Tar\PosixTarEntry.cs (5)
22internal PosixTarEntry(TarEntryType entryType, string entryName, TarEntryFormat format, bool isGea) 59if (_header._typeFlag is not TarEntryType.BlockDevice and not TarEntryType.CharacterDevice) 86if (_header._typeFlag is not TarEntryType.BlockDevice and not TarEntryType.CharacterDevice)
System\Formats\Tar\TarEntry.cs (62)
37internal TarEntry(TarEntryType entryType, string entryName, TarEntryFormat format, bool isGea) 41Debug.Assert(!isGea || entryType is TarEntryType.GlobalExtendedAttributes); 60TarEntryType compatibleEntryType = TarHelpers.GetCorrectTypeFlagForFormat(format, other.EntryType); 77public TarEntryType EntryType => _header._typeFlag; 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> 124/// When the <see cref="EntryType"/> indicates a <see cref="TarEntryType.SymbolicLink"/> or a <see cref="TarEntryType.HardLink"/>, this property returns the link target path of such link. 127/// <exception cref="InvalidOperationException">The entry type is not <see cref="TarEntryType.HardLink"/> or <see cref="TarEntryType.SymbolicLink"/>.</exception> 135if (_header._typeFlag is not TarEntryType.HardLink and not TarEntryType.SymbolicLink) 198/// <remarks><para>Files of type <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> or <see cref="TarEntryType.Fifo"/> can only be extracted in Unix platforms.</para> 199/// <para>Elevation is required to extract a <see cref="TarEntryType.BlockDevice"/> or <see cref="TarEntryType.CharacterDevice"/> to disk.</para> 216if (EntryType is TarEntryType.SymbolicLink or TarEntryType.HardLink or TarEntryType.GlobalExtendedAttributes) 231/// <remarks><para>Files of type <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> or <see cref="TarEntryType.Fifo"/> can only be extracted in Unix platforms.</para> 232/// <para>Elevation is required to extract a <see cref="TarEntryType.BlockDevice"/> or <see cref="TarEntryType.CharacterDevice"/> to disk.</para></remarks> 251if (EntryType is TarEntryType.SymbolicLink or TarEntryType.HardLink or TarEntryType.GlobalExtendedAttributes) 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> 326if (EntryType == TarEntryType.Directory) 349if (EntryType == TarEntryType.Directory) 379if (EntryType is TarEntryType.SymbolicLink) 401else if (EntryType is TarEntryType.HardLink) 436if (EntryType is TarEntryType.RegularFile or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile) 455if (EntryType is TarEntryType.RegularFile or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile) 468Debug.Assert(EntryType is not (TarEntryType.RegularFile or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile)); 472case TarEntryType.Directory: 473case TarEntryType.DirectoryList: 489case TarEntryType.SymbolicLink: 495case TarEntryType.HardLink: 508case TarEntryType.BlockDevice: 512case TarEntryType.CharacterDevice: 516case TarEntryType.Fifo: 520case TarEntryType.ExtendedAttributes: 521case TarEntryType.GlobalExtendedAttributes: 522case TarEntryType.LongPath: 523case TarEntryType.LongLink: 527case TarEntryType.MultiVolume: 528case TarEntryType.RenamedOrSymlinked: 529case TarEntryType.SparseFile: 530case TarEntryType.TapeVolume:
System\Formats\Tar\TarEntry.Unix.cs (4)
16Debug.Assert(EntryType is TarEntryType.BlockDevice); 23Debug.Assert(EntryType is TarEntryType.CharacterDevice); 30Debug.Assert(EntryType is TarEntryType.Fifo); 37Debug.Assert(EntryType is TarEntryType.HardLink);
System\Formats\Tar\TarFile.cs (42)
268/// <remarks><para>Files of type <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> or <see cref="TarEntryType.Fifo"/> can only be extracted in Unix platforms.</para> 269/// <para>Elevation is required to extract a <see cref="TarEntryType.BlockDevice"/> or <see cref="TarEntryType.CharacterDevice"/> to disk.</para></remarks> 288/// <remarks><para>Files of type <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> or <see cref="TarEntryType.Fifo"/> can only be extracted in Unix platforms.</para> 289/// <para>Elevation is required to extract a <see cref="TarEntryType.BlockDevice"/> or <see cref="TarEntryType.CharacterDevice"/> to disk.</para></remarks> 330/// <remarks><para>Files of type <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> or <see cref="TarEntryType.Fifo"/> can only be extracted in Unix platforms.</para> 331/// <para>Elevation is required to extract a <see cref="TarEntryType.BlockDevice"/> or <see cref="TarEntryType.CharacterDevice"/> to disk.</para></remarks> 352/// <remarks><para>Files of type <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> or <see cref="TarEntryType.Fifo"/> can only be extracted in Unix platforms.</para> 353/// <para>Elevation is required to extract a <see cref="TarEntryType.BlockDevice"/> or <see cref="TarEntryType.CharacterDevice"/> to disk.</para></remarks> 396/// <remarks><para>Files of type <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> or <see cref="TarEntryType.Fifo"/> can only be extracted in Unix platforms.</para> 397/// <para>Elevation is required to extract a <see cref="TarEntryType.BlockDevice"/> or <see cref="TarEntryType.CharacterDevice"/> to disk.</para></remarks> 415/// <remarks><para>Files of type <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> or <see cref="TarEntryType.Fifo"/> can only be extracted in Unix platforms.</para> 416/// <para>Elevation is required to extract a <see cref="TarEntryType.BlockDevice"/> or <see cref="TarEntryType.CharacterDevice"/> to disk.</para></remarks> 459/// <remarks><para>Files of type <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> or <see cref="TarEntryType.Fifo"/> can only be extracted in Unix platforms.</para> 460/// <para>Elevation is required to extract a <see cref="TarEntryType.BlockDevice"/> or <see cref="TarEntryType.CharacterDevice"/> to disk.</para></remarks> 480/// <remarks><para>Files of type <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> or <see cref="TarEntryType.Fifo"/> can only be extracted in Unix platforms.</para> 481/// <para>Elevation is required to extract a <see cref="TarEntryType.BlockDevice"/> or <see cref="TarEntryType.CharacterDevice"/> to disk.</para></remarks> 662if (entry.EntryType is not TarEntryType.GlobalExtendedAttributes) 710if (entry.EntryType is not TarEntryType.GlobalExtendedAttributes)
System\Formats\Tar\TarHardLinkMode.cs (1)
14/// occurrences are written as <see cref="TarEntryType.HardLink"/> entries.
System\Formats\Tar\TarHeader.cs (6)
68internal TarEntryType _typeFlag; 110internal TarHeader(TarEntryFormat format, string name = "", int mode = 0, DateTimeOffset mTime = default, TarEntryType typeFlag = TarEntryType.RegularFile) 124internal TarHeader(TarEntryFormat format, TarEntryType typeFlag, TarHeader other) 261Debug.Assert(_typeFlag is TarEntryType.SymbolicLink or TarEntryType.HardLink);
System\Formats\Tar\TarHeader.Read.cs (38)
117if (_typeFlag is TarEntryType.HardLink or TarEntryType.SymbolicLink && 148if (_typeFlag is TarEntryType.RegularFile or TarEntryType.V7RegularFile) 226case TarEntryType.ExtendedAttributes or TarEntryType.GlobalExtendedAttributes: 229case TarEntryType.LongLink or TarEntryType.LongPath: 232case TarEntryType.BlockDevice: 233case TarEntryType.CharacterDevice: 234case TarEntryType.Directory: 235case TarEntryType.Fifo: 236case TarEntryType.HardLink: 237case TarEntryType.SymbolicLink: 244case TarEntryType.RegularFile: 245case TarEntryType.V7RegularFile: // Treated as regular file 246case TarEntryType.ContiguousFile: // Treated as regular file 247case TarEntryType.DirectoryList: // Contains the list of filesystem entries in the data section 248case TarEntryType.MultiVolume: // Contains portion of a file 249case TarEntryType.RenamedOrSymlinked: // Might contain data 250case TarEntryType.SparseFile: // Contains portion of a file 251case TarEntryType.TapeVolume: // Might contain data 371typeFlag: (TarEntryType)buffer[FieldLocations.TypeFlag]) 384TarEntryType.ExtendedAttributes or 385TarEntryType.GlobalExtendedAttributes => TarEntryFormat.Pax, 387TarEntryType.DirectoryList or 388TarEntryType.LongLink or 389TarEntryType.LongPath or 390TarEntryType.MultiVolume or 391TarEntryType.RenamedOrSymlinked or 392TarEntryType.TapeVolume => TarEntryFormat.Gnu, 395TarEntryType.V7RegularFile => TarEntryFormat.V7, 397TarEntryType.SparseFile => throw new NotSupportedException(SR.Format(SR.TarEntryTypeNotSupported, header._typeFlag)), 401_ => (header._typeFlag == TarEntryType.RegularFile) ? TarEntryFormat.Ustar : TarEntryFormat.V7 524if (_typeFlag is TarEntryType.CharacterDevice or TarEntryType.BlockDevice) 653if (_typeFlag == TarEntryType.LongLink) 657else if (_typeFlag == TarEntryType.LongPath)
System\Formats\Tar\TarHeader.Write.cs (18)
109TarEntryType actualEntryType = TarHelpers.GetCorrectTypeFlagForFormat(TarEntryFormat.V7, _typeFlag); 119TarEntryType actualEntryType = TarHelpers.GetCorrectTypeFlagForFormat(TarEntryFormat.Ustar, _typeFlag); 140Debug.Assert(_typeFlag is TarEntryType.GlobalExtendedAttributes); 178Debug.Assert(_typeFlag is not TarEntryType.GlobalExtendedAttributes); 270return GetGnuLongMetadataHeader(dataStream, TarEntryType.LongLink); 276return GetGnuLongMetadataHeader(dataStream, TarEntryType.LongPath); 280private static TarHeader GetGnuLongMetadataHeader(MemoryStream dataStream, TarEntryType entryType) 282Debug.Assert(entryType is TarEntryType.LongPath or TarEntryType.LongLink); 332_typeFlag = isGea ? TarEntryType.GlobalExtendedAttributes : TarEntryType.ExtendedAttributes; 456private int WriteCommonFields(Span<byte> buffer, TarEntryType actualEntryType) 459Debug.Assert(!string.IsNullOrEmpty(_linkName) ^ (_typeFlag is not TarEntryType.SymbolicLink and not TarEntryType.HardLink)); 601if (_typeFlag is not TarEntryType.LongLink and not TarEntryType.LongPath) 957return _typeFlag is TarEntryType.Directory or TarEntryType.DirectoryList ?
System\Formats\Tar\TarHelpers.cs (38)
48internal static int GetDefaultMode(TarEntryType type) 49=> type is TarEntryType.Directory or TarEntryType.DirectoryList ? (int)DefaultDirectoryMode : (int)DefaultFileMode; 178internal static TarEntryType GetRegularFileEntryTypeForFormat(TarEntryFormat format) => format is TarEntryFormat.V7 ? TarEntryType.V7RegularFile : TarEntryType.RegularFile; 183internal static TarEntryType GetCorrectTypeFlagForFormat(TarEntryFormat format, TarEntryType entryType) 187if (entryType is TarEntryType.RegularFile) 189return TarEntryType.V7RegularFile; 192else if (entryType is TarEntryType.V7RegularFile) 194return TarEntryType.RegularFile; 285internal static void ThrowIfEntryTypeNotSupported(TarEntryType entryType, TarEntryFormat archiveFormat, [CallerArgumentExpression(nameof(entryType))] string? paramName = null) 291TarEntryType.Directory or 292TarEntryType.HardLink or 293TarEntryType.V7RegularFile or 294TarEntryType.SymbolicLink) 302TarEntryType.BlockDevice or 303TarEntryType.CharacterDevice or 304TarEntryType.Directory or 305TarEntryType.Fifo or 306TarEntryType.HardLink or 307TarEntryType.RegularFile or 308TarEntryType.SymbolicLink) 316TarEntryType.BlockDevice or 317TarEntryType.CharacterDevice or 318TarEntryType.Directory or 319TarEntryType.Fifo or 320TarEntryType.HardLink or 321TarEntryType.RegularFile or 322TarEntryType.SymbolicLink) 334TarEntryType.BlockDevice or 335TarEntryType.CharacterDevice or 336TarEntryType.Directory or 337TarEntryType.Fifo or 338TarEntryType.HardLink or 339TarEntryType.RegularFile or 340TarEntryType.SymbolicLink)
System\Formats\Tar\TarReader.cs (19)
218TarEntryFormat.Pax => header._typeFlag is TarEntryType.GlobalExtendedAttributes ? 258if (header._typeFlag is TarEntryType.ExtendedAttributes) 268else if (header._typeFlag is TarEntryType.LongLink or TarEntryType.LongPath) 295if (actualHeader._typeFlag is TarEntryType.GlobalExtendedAttributes or 296TarEntryType.ExtendedAttributes or 297TarEntryType.LongLink or 298TarEntryType.LongPath) 300throw new InvalidDataException(SR.Format(SR.TarUnexpectedMetadataEntry, actualHeader._typeFlag, TarEntryType.ExtendedAttributes)); 333if ((header._typeFlag is TarEntryType.LongLink && secondHeader._typeFlag is TarEntryType.LongPath) || 334(header._typeFlag is TarEntryType.LongPath && secondHeader._typeFlag is TarEntryType.LongLink)) 344if (thirdHeader._typeFlag is TarEntryType.LongLink or TarEntryType.LongPath) 349if (header._typeFlag is TarEntryType.LongLink) 357else if (header._typeFlag is TarEntryType.LongPath) 370if (header._typeFlag is TarEntryType.LongLink) 375else if (header._typeFlag is TarEntryType.LongPath)
System\Formats\Tar\TarWriter.cs (30)
216/// <item><see cref="TarEntryType.Directory"/></item> 217/// <item><see cref="TarEntryType.HardLink"/></item> 218/// <item><see cref="TarEntryType.SymbolicLink"/></item> 219/// <item><see cref="TarEntryType.V7RegularFile"/></item> 225/// <item><see cref="TarEntryType.BlockDevice"/></item> 226/// <item><see cref="TarEntryType.CharacterDevice"/></item> 227/// <item><see cref="TarEntryType.Directory"/></item> 228/// <item><see cref="TarEntryType.Fifo"/></item> 229/// <item><see cref="TarEntryType.HardLink"/></item> 230/// <item><see cref="TarEntryType.RegularFile"/></item> 231/// <item><see cref="TarEntryType.SymbolicLink"/></item> 236/// <exception cref="ArgumentException">The entry type is <see cref="TarEntryType.HardLink"/> or <see cref="TarEntryType.SymbolicLink"/> and the <see cref="TarEntry.LinkName"/> is <see langword="null"/> or empty.</exception> 267/// <item><see cref="TarEntryType.Directory"/></item> 268/// <item><see cref="TarEntryType.HardLink"/></item> 269/// <item><see cref="TarEntryType.SymbolicLink"/></item> 270/// <item><see cref="TarEntryType.V7RegularFile"/></item> 276/// <item><see cref="TarEntryType.BlockDevice"/></item> 277/// <item><see cref="TarEntryType.CharacterDevice"/></item> 278/// <item><see cref="TarEntryType.Directory"/></item> 279/// <item><see cref="TarEntryType.Fifo"/></item> 280/// <item><see cref="TarEntryType.HardLink"/></item> 281/// <item><see cref="TarEntryType.RegularFile"/></item> 282/// <item><see cref="TarEntryType.SymbolicLink"/></item> 287/// <exception cref="ArgumentException">The entry type is <see cref="TarEntryType.HardLink"/> or <see cref="TarEntryType.SymbolicLink"/> and the <see cref="TarEntry.LinkName"/> is <see langword="null"/> or empty.</exception> 318TarEntryFormat.Pax when entry._header._typeFlag is TarEntryType.GlobalExtendedAttributes => entry._header.WriteAsPaxGlobalExtendedAttributesCoreAsync<TAdapter>(_archiveStream, buffer, _nextGlobalExtendedAttributesEntryNumber++, cancellationToken), 372private static void ValidateEntryLinkName(TarEntryType entryType, string? linkName) 374if (entryType is TarEntryType.HardLink or TarEntryType.SymbolicLink)
System\Formats\Tar\TarWriter.Unix.cs (14)
43TarEntryType entryType; 46entryType = TarEntryType.HardLink; 53Interop.Sys.FileTypes.S_IFBLK => TarEntryType.BlockDevice, 54Interop.Sys.FileTypes.S_IFCHR => TarEntryType.CharacterDevice, 55Interop.Sys.FileTypes.S_IFIFO => TarEntryType.Fifo, 56Interop.Sys.FileTypes.S_IFLNK => TarEntryType.SymbolicLink, 58Interop.Sys.FileTypes.S_IFDIR => TarEntryType.Directory, 63FileSystemInfo info = entryType is TarEntryType.Directory ? new DirectoryInfo(fullPath) : new FileInfo(fullPath); 74if (entryType is TarEntryType.BlockDevice or TarEntryType.CharacterDevice) 117if (entry.EntryType == TarEntryType.SymbolicLink) 122if (entry.EntryType == TarEntryType.HardLink) 128if (entry.EntryType is TarEntryType.RegularFile or TarEntryType.V7RegularFile)
System\Formats\Tar\UstarTarEntry.cs (10)
22/// <remarks>When creating an instance using the <see cref="UstarTarEntry(TarEntryType, string)"/> constructor, only the following entry types are supported: 24/// <item>In all platforms: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/>, <see cref="TarEntryType.RegularFile"/>.</item> 25/// <item>In Unix platforms only: <see cref="TarEntryType.BlockDevice"/>, <see cref="TarEntryType.CharacterDevice"/> and <see cref="TarEntryType.Fifo"/>.</item> 32public UstarTarEntry(TarEntryType entryType, string entryName) 58internal override bool IsDataStreamSetterSupported() => EntryType == TarEntryType.RegularFile;
System\Formats\Tar\V7TarEntry.cs (7)
22/// <remarks>When creating an instance using the <see cref="V7TarEntry(TarEntryType, string)"/> constructor, only the following entry types are supported: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/> and <see cref="TarEntryType.V7RegularFile"/>.</remarks> 27public V7TarEntry(TarEntryType entryType, string entryName) 44internal override bool IsDataStreamSetterSupported() => EntryType == TarEntryType.V7RegularFile;