Versions in this module Expand all Collapse all v0 v0.12.1 Jun 5, 2022 Changes in this version + const SigTypeArchive + const SigTypeMaint + const SigTypeOrigin + func LoadFile(path string) (*Deb, Closer, error) + type Ar struct + func LoadAr(in io.ReaderAt) (*Ar, error) + func (d *Ar) Next() (*ArEntry, error) + type ArEntry struct + Data *io.SectionReader + FileMode string + GroupID int64 + Name string + OwnerID int64 + Size int64 + Timestamp int64 + func (e *ArEntry) IsTarfile() bool + func (e *ArEntry) Tarfile() (*tar.Reader, io.Closer, error) + type Closer func() error + type Control struct + Architecture dependency.Arch + Breaks dependency.Dependency + BuiltUsing dependency.Dependency + Depends dependency.Dependency + Description string + Homepage string + InstalledSize int + Maintainer string + MultiArch string + Package string + Priority string + Recommends dependency.Dependency + Replaces dependency.Dependency + Section string + Source string + Suggests dependency.Dependency + Version version.Version + func (c Control) SourceName() string + type Deb struct + ArContent map[string]*ArEntry + Closer io.Closer + Control Control + ControlExt string + Data *tar.Reader + DataExt string + Path string + func Load(in io.ReaderAt, pathname string) (*Deb, error) + func (deb *Deb) CheckDebsig(validKeys openpgp.EntityList, sigType string) (signer *openpgp.Entity, err error) + func (deb *Deb) Close() error + type DecompressorFunc func(io.Reader) (io.ReadCloser, error) + func DecompressorFor(ext string) DecompressorFunc