36 references to RegularFile
aspire (2)
Bundles\BundleService.cs (1)
273case TarEntryType.RegularFile:
Utils\ArchiveHelper.cs (1)
101case TarEntryType.RegularFile:
Microsoft.NET.Build.Containers (8)
Layer.cs (1)
161entry = new(TarEntryType.RegularFile, 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")
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> 100internal 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> 132internal 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> 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));
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)
110internal TarHeader(TarEntryFormat format, string name = "", int mode = 0, DateTimeOffset mTime = default, TarEntryType typeFlag = TarEntryType.RegularFile)
System\Formats\Tar\TarHeader.Read.cs (3)
148if (_typeFlag is TarEntryType.RegularFile or TarEntryType.V7RegularFile) 244case TarEntryType.RegularFile: 401_ => (header._typeFlag == TarEntryType.RegularFile) ? TarEntryFormat.Ustar : TarEntryFormat.V7
System\Formats\Tar\TarHelpers.cs (6)
178internal static TarEntryType GetRegularFileEntryTypeForFormat(TarEntryFormat format) => format is TarEntryFormat.V7 ? TarEntryType.V7RegularFile : TarEntryType.RegularFile; 187if (entryType is TarEntryType.RegularFile) 194return TarEntryType.RegularFile; 307TarEntryType.RegularFile or 321TarEntryType.RegularFile or 339TarEntryType.RegularFile or
System\Formats\Tar\TarWriter.cs (2)
230/// <item><see cref="TarEntryType.RegularFile"/></item> 281/// <item><see cref="TarEntryType.RegularFile"/></item>
System\Formats\Tar\TarWriter.Unix.cs (1)
128if (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> 58internal override bool IsDataStreamSetterSupported() => EntryType == TarEntryType.RegularFile;