CpioEntry

CpioEntry class

Represents single file within cpio archive.

The CpioEntry type exposes the following members:

Properties

NameDescription
nameGets name of the entry within archive.
parentGets the archive the entry belongs to.
lengthGets the length of the entry in bytes.
is_directoryGets a value indicating whether the entry represents directory.
last_write_time_utcGets the last write time.

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