C# Class System.Formats.Tar.V7TarEntry

Represents a tar entry from an archive of the V7 format.
Inheritance: System.Formats.Tar.TarEntry
Show file Open project: dotnet/runtime

Public Methods

Method Description
V7TarEntry ( TarEntryType entryType, string entryName )

Initializes a new V7TarEntry instance with the specified entry type and entry name.

When creating an instance using the V7TarEntry(TarEntryType, string) constructor, only the following entry types are supported: TarEntryType.Directory, TarEntryType.HardLink, TarEntryType.SymbolicLink and TarEntryType.V7RegularFile.

Private Methods

Method Description
IsDataStreamSetterSupported ( ) : bool
V7TarEntry ( System.Formats.Tar.TarHeader header, System.Formats.Tar.TarReader readerOfOrigin )

Method Details

V7TarEntry() public method

Initializes a new V7TarEntry instance with the specified entry type and entry name.
When creating an instance using the V7TarEntry(TarEntryType, string) constructor, only the following entry types are supported: TarEntryType.Directory, TarEntryType.HardLink, TarEntryType.SymbolicLink and TarEntryType.V7RegularFile.
is null or empty. The entry type is not supported for creating an entry.
public V7TarEntry ( TarEntryType entryType, string entryName )
entryType TarEntryType The type of the entry.
entryName string A string with the path and file name of this entry.