64 references to RegularFile
aspire (2)
Bundles\BundleService.cs (1)
925
case TarEntryType.
RegularFile
:
Utils\ArchiveHelper.cs (1)
101
case TarEntryType.
RegularFile
:
Aspire.Cli.EndToEnd.Tests (3)
Helpers\CliE2ETestHelpers.cs (1)
1174
if (entry.EntryType is not (TarEntryType.
RegularFile
or TarEntryType.V7RegularFile))
Helpers\CliInstallStrategyTests.cs (1)
28
tar.WriteEntry(new PaxTarEntry(TarEntryType.
RegularFile
, packageEntry));
SettledNpmReleasesTests.cs (1)
178
tar.WriteEntry(new UstarTarEntry(TarEntryType.
RegularFile
, "package/package.json")
Aspire.Cli.Tests (8)
BundleServiceIntegrationTests.cs (8)
695
var managedEntry = new PaxTarEntry(TarEntryType.
RegularFile
, $"aspire-payload/{BundleDiscovery.ManagedDirectoryName}/{exeName}")
704
tar.WriteEntry(new PaxTarEntry(TarEntryType.
RegularFile
, $"aspire-payload/terminalhost/{file}")
713
TarEntryType.
RegularFile
,
721
TarEntryType.
RegularFile
,
731
TarEntryType.
RegularFile
,
740
TarEntryType.
RegularFile
,
752
TarEntryType.
RegularFile
,
762
var trayEntry = new PaxTarEntry(TarEntryType.
RegularFile
, $"aspire-payload/{TrayExecutablePath}")
Aspire.Hosting (1)
Publishing\ContainerImageArchiveRewriter.cs (1)
502
if (entry.EntryType is not (TarEntryType.
RegularFile
or TarEntryType.V7RegularFile))
Aspire.Hosting.TestUtilities (3)
Publishing\TestContainerImageArchive.cs (3)
133
if (layerEntry.EntryType is not (TarEntryType.
RegularFile
or TarEntryType.V7RegularFile))
177
var layerEntry = new PaxTarEntry(TarEntryType.
RegularFile
, "layer.tar")
224
var entry = new PaxTarEntry(TarEntryType.
RegularFile
, name)
CreateLayout (1)
Program.cs (1)
471
var entry = new System.Formats.Tar.PaxTarEntry(System.Formats.Tar.TarEntryType.
RegularFile
, relativePath)
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)
505
_ => TarEntryType.
RegularFile
,
Untar.cs (1)
320
if (tarEntry.EntryType is not (TarEntryType.
RegularFile
or TarEntryType.V7RegularFile))
Microsoft.NET.Build.Containers (15)
Layer.cs (1)
185
entry = new(TarEntryType.
RegularFile
, containerPath, entryAttributes)
LocalDaemons\ContainerArchive.cs (7)
141
PaxTarEntry configEntry = new(TarEntryType.
RegularFile
, configPath)
175
PaxTarEntry manifestEntry = new(TarEntryType.
RegularFile
, "manifest.json")
190
PaxTarEntry layoutEntry = new(TarEntryType.
RegularFile
, "oci-layout")
206
PaxTarEntry manifestEntry = new(TarEntryType.
RegularFile
, manifestPath)
237
PaxTarEntry indexEntry = new(TarEntryType.
RegularFile
, "index.json")
278
PaxTarEntry manifestListEntry = new(TarEntryType.
RegularFile
, $"{BlobsPath}/{manifestListSha}")
297
PaxTarEntry indexEntry = new(TarEntryType.
RegularFile
, "index.json")
LocalDaemons\DockerCli.cs (7)
370
PaxTarEntry configEntry = new(TarEntryType.
RegularFile
, configPath)
401
PaxTarEntry manifestEntry = new(TarEntryType.
RegularFile
, "manifest.json")
439
PaxTarEntry layoutEntry = new(TarEntryType.
RegularFile
, ociLayoutPath)
457
PaxTarEntry manifestEntry = new(TarEntryType.
RegularFile
, manifestPath)
482
PaxTarEntry indexEntry = new(TarEntryType.
RegularFile
, "index.json")
545
PaxTarEntry indexEntry = new(TarEntryType.
RegularFile
, manifestListPath)
564
PaxTarEntry indexEntry = new(TarEntryType.
RegularFile
, "index.json")
System.Formats.Tar (26)
System\Formats\Tar\GnuTarEntry.cs (2)
29
/// <item>In all platforms: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/>, <see cref="TarEntryType.
RegularFile
"/>.</item>
100
internal override bool IsDataStreamSetterSupported() => EntryType is TarEntryType.
RegularFile
;
System\Formats\Tar\PaxTarEntry.cs (3)
28
/// <item>In all platforms: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/>, <see cref="TarEntryType.
RegularFile
"/>.</item>
51
/// <item>In all platforms: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/>, <see cref="TarEntryType.
RegularFile
"/>.</item>
132
internal override bool IsDataStreamSetterSupported() => EntryType == TarEntryType.
RegularFile
;
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\TarEntryType.cs (1)
46
/// <para>This entry type is specific to the <see cref="TarEntryFormat.Gnu"/> format, and is treated as a <see cref="
RegularFile
"/> entry type.</para>
System\Formats\Tar\TarHeader.cs (1)
110
internal TarHeader(TarEntryFormat format, string name = "", int mode = 0, DateTimeOffset mTime = default, TarEntryType typeFlag = TarEntryType.
RegularFile
)
System\Formats\Tar\TarHeader.Read.cs (3)
206
if (_typeFlag is TarEntryType.
RegularFile
or TarEntryType.V7RegularFile)
320
case TarEntryType.
RegularFile
:
482
_ => (header._typeFlag == TarEntryType.
RegularFile
) ? TarEntryFormat.Ustar : TarEntryFormat.V7
System\Formats\Tar\TarHelpers.cs (6)
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
,
378
TarEntryType.
RegularFile
or
392
TarEntryType.
RegularFile
or
410
TarEntryType.
RegularFile
or
System\Formats\Tar\TarWriter.cs (2)
230
/// <item><see cref="TarEntryType.
RegularFile
"/></item>
278
/// <item><see cref="TarEntryType.
RegularFile
"/></item>
System\Formats\Tar\TarWriter.Unix.cs (1)
121
if (entry.EntryType is TarEntryType.
RegularFile
or TarEntryType.V7RegularFile)
System\Formats\Tar\UstarTarEntry.cs (2)
24
/// <item>In all platforms: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/>, <see cref="TarEntryType.
RegularFile
"/>.</item>
58
internal override bool IsDataStreamSetterSupported() => EntryType == TarEntryType.
RegularFile
;