25 references to V7RegularFile
Aspire.Cli.EndToEnd.Tests (1)
Helpers\CliE2ETestHelpers.cs (1)
1174
if (entry.EntryType is not (TarEntryType.RegularFile or TarEntryType.
V7RegularFile
))
Aspire.Hosting (1)
Publishing\ContainerImageArchiveRewriter.cs (1)
502
if (entry.EntryType is not (TarEntryType.RegularFile or TarEntryType.
V7RegularFile
))
Aspire.Hosting.TestUtilities (1)
Publishing\TestContainerImageArchive.cs (1)
133
if (layerEntry.EntryType is not (TarEntryType.RegularFile or TarEntryType.
V7RegularFile
))
Infrastructure.Tests (3)
Pipelines\TrayBundleTests.cs (3)
75
if (entry.EntryType is not (TarEntryType.RegularFile or TarEntryType.
V7RegularFile
))
181
if (entry.EntryType is not (TarEntryType.RegularFile or TarEntryType.
V7RegularFile
))
288
if (entry.EntryType is not (TarEntryType.RegularFile or TarEntryType.
V7RegularFile
))
Microsoft.Build.Tasks.Core (2)
TarDirectory.cs (1)
504
(_, _, TarEntryFormat.V7) => TarEntryType.
V7RegularFile
,
Untar.cs (1)
320
if (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>
612
if (EntryType is TarEntryType.RegularFile or TarEntryType.
V7RegularFile
or TarEntryType.ContiguousFile)
631
if (EntryType is TarEntryType.RegularFile or TarEntryType.
V7RegularFile
or TarEntryType.ContiguousFile)
644
Debug.Assert(EntryType is not (TarEntryType.RegularFile or TarEntryType.
V7RegularFile
or TarEntryType.ContiguousFile));
System\Formats\Tar\TarHeader.Read.cs (3)
206
if (_typeFlag is TarEntryType.RegularFile or TarEntryType.
V7RegularFile
)
321
case TarEntryType.
V7RegularFile
: // Treated as regular file
476
TarEntryType.
V7RegularFile
=> TarEntryFormat.V7,
System\Formats\Tar\TarHelpers.cs (4)
239
internal static TarEntryType GetRegularFileEntryTypeForFormat(TarEntryFormat format) => format is TarEntryFormat.V7 ? TarEntryType.
V7RegularFile
: TarEntryType.RegularFile;
247
(TarEntryFormat.V7, TarEntryType.RegularFile) => TarEntryType.
V7RegularFile
,
248
(not TarEntryFormat.V7, TarEntryType.
V7RegularFile
) => TarEntryType.RegularFile,
364
TarEntryType.
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)
121
if (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>
44
internal override bool IsDataStreamSetterSupported() => EntryType == TarEntryType.
V7RegularFile
;