Class CpioEntry

CpioEntry class

Represents single file within cpio archive.

public sealed class CpioEntry : IArchiveFileEntry

Properties

NameDescription
IsDirectory { get; }Gets a value indicating whether the entry represents directory.
LastWriteTimeUtc { get; }Gets the last write time.
Length { get; }Gets the length of the entry in bytes.
Name { get; }Gets name of the entry within archive.
Parent { get; }Gets the archive the entry belongs to.

Methods

NameDescription
Extract(Stream)Extracts the entry to the stream provided.
Extract(string)Extracts the entry to the filesystem by the path provided.
Open()Opens the entry for extraction and provides a stream with entry content.
override ToString()

See Also