17 references to V7RegularFile
System.Formats.Tar (17)
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>
425
if (EntryType is TarEntryType.RegularFile or TarEntryType.
V7RegularFile
or TarEntryType.ContiguousFile)
444
if (EntryType is TarEntryType.RegularFile or TarEntryType.
V7RegularFile
or TarEntryType.ContiguousFile)
457
Debug.Assert(EntryType is not (TarEntryType.RegularFile or TarEntryType.
V7RegularFile
or TarEntryType.ContiguousFile));
System\Formats\Tar\TarHeader.Read.cs (3)
224
case TarEntryType.
V7RegularFile
: // Treated as regular file
286
case TarEntryType.
V7RegularFile
: // Treated as regular file
450
TarEntryType.
V7RegularFile
=> TarEntryFormat.V7,
System\Formats\Tar\TarHelpers.cs (4)
198
internal static TarEntryType GetRegularFileEntryTypeForFormat(TarEntryFormat format) => format is TarEntryFormat.V7 ? TarEntryType.
V7RegularFile
: TarEntryType.RegularFile;
209
return TarEntryType.
V7RegularFile
;
212
else if (entryType is TarEntryType.
V7RegularFile
)
324
TarEntryType.
V7RegularFile
or
System\Formats\Tar\TarWriter.cs (2)
233
/// <item><see cref="TarEntryType.
V7RegularFile
"/></item>
281
/// <item><see cref="TarEntryType.
V7RegularFile
"/></item>
System\Formats\Tar\TarWriter.Unix.cs (1)
128
if (entry.EntryType is TarEntryType.RegularFile or TarEntryType.
V7RegularFile
)
System\Formats\Tar\V7TarEntry.cs (2)
22
/// <remarks>When creating an instance using the <see cref="V7TarEntry(TarEntryType, string)"/> constructor, only the following entry types are supported: <see cref="TarEntryType.Directory"/>, <see cref="TarEntryType.HardLink"/>, <see cref="TarEntryType.SymbolicLink"/> and <see cref="TarEntryType.
V7RegularFile
"/>.</remarks>
44
internal override bool IsDataStreamSetterSupported() => EntryType == TarEntryType.
V7RegularFile
;