Documentation ¶
Overview ¶
Package deb implements deb package importer.
Index ¶
- Constants
- type Archive
- func (a *Archive) Description() string
- func (a *Archive) ID() string
- func (a *Archive) LocalPath() string
- func (a *Archive) Preprocess() (string, error)
- func (a *Archive) QuickSHA256Hash() (string, error)
- func (a *Archive) RemotePath() string
- func (a *Archive) RepoName() string
- func (a *Archive) RepoPath() string
- type Repo
Constants ¶
View Source
const (
// RepoName contains the repository name.
RepoName = "deb"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive struct {
// contains filtered or unexported fields
}
Archive holds data related to deb archive.
func (*Archive) Description ¶
Description provides additional description for a .deb file.
func (*Archive) Preprocess ¶
Preprocess extracts the contents of a .deb file.
func (*Archive) QuickSHA256Hash ¶
QuickSHA256Hash calculates sha256 hash of .deb file.
func (*Archive) RemotePath ¶
RemotePath returns non-local path to a deb Archive .deb file.
type Repo ¶
type Repo struct { Archives []*Archive // contains filtered or unexported fields }
Repo holds data related to a deb repository.
func (*Repo) DiscoverRepo ¶
DiscoverRepo traverses the repository and looks for files that are related to deb archives.
Click to show internal directories.
Click to hide internal directories.