63 references to RegularFile
aspire (4)
Agents\AspireSkills\AspireSkillsBundleProvider.cs (1)
500
case TarEntryType.
RegularFile
:
Agents\Hooks\AgentTelemetryCatalog.cs (1)
120
entry.EntryType is not (TarEntryType.
RegularFile
or TarEntryType.V7RegularFile))
Bundles\BundleService.cs (1)
925
case TarEntryType.
RegularFile
:
Utils\ArchiveHelper.cs (1)
101
case TarEntryType.
RegularFile
:
Aspire.Cli.Tests (9)
Agents\AgentTelemetryCatalogTests.cs (1)
167
writer.WriteEntry(new PaxTarEntry(TarEntryType.
RegularFile
, path) { DataStream = data });
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)
391
var entry = new System.Formats.Tar.PaxTarEntry(System.Formats.Tar.TarEntryType.
RegularFile
, relativePath)
Infrastructure.Tests (2)
Pipelines\TrayBundleTests.cs (2)
106
if (entry.EntryType is not (TarEntryType.
RegularFile
or TarEntryType.V7RegularFile))
294
if (entry.EntryType is not (TarEntryType.
RegularFile
or TarEntryType.V7RegularFile))
Microsoft.Build.Tasks.Core (2)
TarDirectory.cs (1)
484
_ => TarEntryType.
RegularFile
,
Untar.cs (1)
315
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>
532
if (EntryType is TarEntryType.
RegularFile
or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile)
551
if (EntryType is TarEntryType.
RegularFile
or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile)
564
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)
211
internal 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
,
350
TarEntryType.
RegularFile
or
364
TarEntryType.
RegularFile
or
382
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
;