TarEntry

TarEntry class

Represents single file within tar archive.

The TarEntry type exposes the following members:

Properties

NameDescription
nameGets or sets name of the entry within archive.
lengthGet length of entry in bytes.
is_directoryGets a value indicating whether the entry represents directory.

Methods

NameDescription
extract(path)Extracts the entry to the filesystem by the path provided.
extract(destination)Extracts the entry to the stream provided.
open()Opens the entry for extraction and provides a stream with entry content.

See Also