 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( PropertyDistribution = "debian.distribution" PropertyComponent = "debian.component" PropertyArchitecture = "debian.architecture" PropertyControl = "debian.control" PropertyRepositoryIncludeInRelease = "debian.repository.include_in_release" SettingKeyPrivate = "debian.key.private" SettingKeyPublic = "debian.key.public" RepositoryPackage = "_debian" RepositoryVersion = "_repository" )
Variables ¶
      View Source
      
  
var ( ErrMissingControlFile = util.NewInvalidArgumentErrorf("control file is missing") ErrUnsupportedCompression = util.NewInvalidArgumentErrorf("unsupported compression algorithm") ErrInvalidName = util.NewInvalidArgumentErrorf("package name is invalid") ErrInvalidVersion = util.NewInvalidArgumentErrorf("package version is invalid") ErrInvalidArchitecture = util.NewInvalidArgumentErrorf("package architecture is invalid") )
Functions ¶
This section is empty.
Types ¶
type Package ¶
type Package struct {
	Name         string
	Version      string
	Architecture string
	Control      string
	Metadata     *Metadata
}
    func ParseControlFile ¶
ParseControlFile parses a Debian control file to retrieve the metadata
func ParsePackage ¶
ParsePackage parses the Debian package file https://manpages.debian.org/bullseye/dpkg-dev/deb.5.en.html
 Click to show internal directories. 
   Click to hide internal directories.