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>
119
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)
115
/// <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>
250
/// <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>
410
if (EntryType is TarEntryType.
RegularFile
or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile)
429
if (EntryType is TarEntryType.
RegularFile
or TarEntryType.V7RegularFile or TarEntryType.ContiguousFile)
442
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)
90
internal TarHeader(TarEntryFormat format, string name = "", int mode = 0, DateTimeOffset mTime = default, TarEntryType typeFlag = TarEntryType.
RegularFile
)
System\Formats\Tar\TarHeader.Read.cs (3)
207
case TarEntryType.
RegularFile
:
269
case TarEntryType.
RegularFile
:
420
_ => (header._typeFlag == TarEntryType.
RegularFile
) ? TarEntryFormat.Ustar : TarEntryFormat.V7
System\Formats\Tar\TarHelpers.cs (5)
204
if (entryType is TarEntryType.
RegularFile
)
211
return TarEntryType.
RegularFile
;
354
TarEntryType.
RegularFile
or
368
TarEntryType.
RegularFile
or
386
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
;