Documentation ¶
Overview ¶
Package minirepo provides a client for minirepo repositories
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Minirepo ¶
type Minirepo struct {
// contains filtered or unexported fields
}
Minirepo client
func NewRepoClient ¶
NewRepoClient creates a new minirepo client.
- localCache is expected to contain a directory where the repository downloads should be cached
- url is expected to contain a repositories upstream
- key is expected to contain a full ASCII-armored GPG public key which was used for signing the metadata
func (*Minirepo) GetFileLatest ¶
GetFileLatest returns the *latest* version of a file, that is, it deletes a local copy before download, should it exist
Click to show internal directories.
Click to hide internal directories.