package
1.5.0
Repository: https://github.com/cornelicorn/aptutil.git
Documentation: pkg.go.dev

# Functions

CopyWithFileInfo copies from src to dst until either EOF is reached on src or an error occurs, and returns FileInfo calculated while copying.
ExtractFileInfo parses debian repository index files such as Release, Packages, or Sources and return a list of *FileInfo listed in the file.
IsMeta returns true if p points a debian repository index file containing checksums for other files.
IsSupported returns true if the meta data is compressed that can be decompressed by ExtractFileInfo.
MakeFileInfoNoChecksum constructs a FileInfo without calculating checksums.
NewParser creates a parser from a io.Reader.
SupportByHash returns true if paragraph from Release indicates support for indices acquisition via hash values (by-hash).

# Structs

FileInfo is a set of meta data of a file.
Parser reads debian control file and return Paragraph one by one.

# Type aliases

Paragraph is a mapping between field names and values.