26 references to RegularFile
System.Formats.Tar (26)
System\Formats\Tar\GnuTarEntry.cs (2)
25
/// <item>In all platforms: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/>, <see cref="TarEntryType.
RegularFile
"/>.</item>
121
internal override bool IsDataStreamSetterSupported() => EntryType is TarEntryType.
RegularFile
;
System\Formats\Tar\PaxTarEntry.cs (3)
30
/// <item>In all platforms: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/>, <see cref="TarEntryType.
RegularFile
"/>.</item>
69
/// <item>In all platforms: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/>, <see cref="TarEntryType.
RegularFile
"/>.</item>
154
internal override bool IsDataStreamSetterSupported() => EntryType == TarEntryType.
RegularFile
;
System\Formats\Tar\TarEntry.cs (5)
109
/// <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>
244
/// <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>
395
if (EntryType is TarEntryType.
RegularFile
or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile)
414
if (EntryType is TarEntryType.
RegularFile
or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile)
427
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)
89
internal TarHeader(TarEntryFormat format, string name = "", int mode = 0, DateTimeOffset mTime = default, TarEntryType typeFlag = TarEntryType.
RegularFile
)
System\Formats\Tar\TarHeader.Read.cs (3)
205
case TarEntryType.
RegularFile
:
267
case TarEntryType.
RegularFile
:
419
_ => (header._typeFlag == TarEntryType.
RegularFile
) ? TarEntryFormat.Ustar : TarEntryFormat.V7
System\Formats\Tar\TarHelpers.cs (5)
205
if (entryType is TarEntryType.
RegularFile
)
212
return TarEntryType.
RegularFile
;
332
TarEntryType.
RegularFile
or
346
TarEntryType.
RegularFile
or
364
TarEntryType.
RegularFile
or
System\Formats\Tar\TarWriter.cs (2)
210
/// <item><see cref="TarEntryType.
RegularFile
"/></item>
254
/// <item><see cref="TarEntryType.
RegularFile
"/></item>
System\Formats\Tar\TarWriter.Unix.cs (2)
36
Interop.Sys.FileTypes.S_IFREG => Format is TarEntryFormat.V7 ? TarEntryType.V7RegularFile : TarEntryType.
RegularFile
,
97
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
;