25 references to V7RegularFile
aspire (2)
Agents\AspireSkills\AspireSkillsBundleProvider.cs (1)
501case TarEntryType.V7RegularFile:
Agents\Hooks\AgentTelemetryCatalog.cs (1)
120entry.EntryType is not (TarEntryType.RegularFile or TarEntryType.V7RegularFile))
Aspire.Hosting (1)
Publishing\ContainerImageArchiveRewriter.cs (1)
502if (entry.EntryType is not (TarEntryType.RegularFile or TarEntryType.V7RegularFile))
Aspire.Hosting.TestUtilities (1)
Publishing\TestContainerImageArchive.cs (1)
133if (layerEntry.EntryType is not (TarEntryType.RegularFile or TarEntryType.V7RegularFile))
Infrastructure.Tests (2)
Pipelines\TrayBundleTests.cs (2)
106if (entry.EntryType is not (TarEntryType.RegularFile or TarEntryType.V7RegularFile)) 294if (entry.EntryType is not (TarEntryType.RegularFile or TarEntryType.V7RegularFile))
Microsoft.Build.Tasks.Core (2)
TarDirectory.cs (1)
483(_, _, TarEntryFormat.V7) => TarEntryType.V7RegularFile,
Untar.cs (1)
315if (tarEntry.EntryType is not (TarEntryType.RegularFile or TarEntryType.V7RegularFile))
System.Formats.Tar (17)
System\Formats\Tar\TarEntry.cs (5)
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> 532if (EntryType is TarEntryType.RegularFile or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile) 551if (EntryType is TarEntryType.RegularFile or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile) 564Debug.Assert(EntryType is not (TarEntryType.RegularFile or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile));
System\Formats\Tar\TarHeader.Read.cs (3)
206if (_typeFlag is TarEntryType.RegularFile or TarEntryType.V7RegularFile) 321case TarEntryType.V7RegularFile: // Treated as regular file 476TarEntryType.V7RegularFile => TarEntryFormat.V7,
System\Formats\Tar\TarHelpers.cs (4)
211internal static TarEntryType GetRegularFileEntryTypeForFormat(TarEntryFormat format) => format is TarEntryFormat.V7 ? TarEntryType.V7RegularFile : TarEntryType.RegularFile; 219(TarEntryFormat.V7, TarEntryType.RegularFile) => TarEntryType.V7RegularFile, 220(not TarEntryFormat.V7, TarEntryType.V7RegularFile) => TarEntryType.RegularFile, 336TarEntryType.V7RegularFile or
System\Formats\Tar\TarWriter.cs (2)
219/// <item><see cref="TarEntryType.V7RegularFile"/></item> 267/// <item><see cref="TarEntryType.V7RegularFile"/></item>
System\Formats\Tar\TarWriter.Unix.cs (1)
121if (entry.EntryType is TarEntryType.RegularFile or TarEntryType.V7RegularFile)
System\Formats\Tar\V7TarEntry.cs (2)
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> 44internal override bool IsDataStreamSetterSupported() => EntryType == TarEntryType.V7RegularFile;