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