Documentation ¶
Overview ¶
Package createrepo provides methods for creating and maintaining an RPM repository.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // CompressAlgo specifies which compression algorithm to be // used for compressing the meta files. Supported algorithms // are: xz (default) and gz. CompressAlgo string `yaml:"compressAlgo,omitempty"` // CompsFile specifies a path to a comps group (yumgroup) // file, if used. CompsFile string `yaml:"compsFile,omitempty"` // ExpungeOldMetadata specifies the time in seconds when old // metadata should be deleted from disk and history. The // default is 172800 (48 hours). ExpungeOldMetadata int64 `yaml:"expungeOldMetadata"` // WriteConfig writes this Config to disk. WriteConfig bool `yaml:"-"` }
Config represents a configuration for repo.
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo represents the repo handler.
Click to show internal directories.
Click to hide internal directories.