TarEntry

TarEntry class

Represents single file within tar archive.

The TarEntry type exposes the following members:

Properties

NameDescription
nameGets or sets a name of the entry within the archive.
lengthGet length of entry in bytes.
uncompressed_sizeGets the size of an original file.
is_directoryGets a value indicating whether the entry represents a directory.
modification_timeGets the modification time of the file or 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