package
0.4.0
Repository: https://github.com/sassoftware/go-rpmutils.git
Documentation: pkg.go.dev

# Functions

Extract the contents of a cpio stream from r to the destination directory dest.
NewCpioStream starts reading files from a cpio archive.
NewReader starts reading a cpio archive stream.
NewReaderWithSizes starts reading a stripped cpio archive from a RPM payload using the provided file sizes.

# Constants

Block special file.
Character special file.
Directory.
FIFO.
Set gid.
Symbolic link.
Regular file.
Socket.
Set uid.
Save text (sticky bit).
TRAILER is the filename found on the last entry of a cpio archive.

# Variables

ErrStrippedHeader indicates that a RPM-style archive was read without calling SetFileSizes().

# Structs

Cpio_newc_header is the raw header of a newc-style cpio archive.
CpioEntry points to a single file within a cpio stream.
CpioStream reads file metadata and contents from a cpio archive.
Reader accesses a cpio archive stream using a simple interface similar to the archive/tar package.