yumrepo

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checksum

type Checksum struct {
	Type  string `xml:"type,attr"`
	Value string `xml:"text"`
}

type Data

type Data struct {
	Type            string   `xml:"type,attr"`
	Checksum        Checksum `xml:"checksum"`
	OpenChecksum    Checksum `xml:"open-checksum"`
	Location        Location `xml:"location"`
	Timestamp       int64    `xml:"timestamp"`
	Size            int64    `xml:"size"`
	OpenSize        int64    `xml:"open-size"`
	DatabaseVersion *int64   `xml:"database_version,omitempty"`
}

type Location

type Location struct {
	Href string `xml:"href,attr"`
}

type RepoData

type RepoData struct {
	XMLName  xml.Name `xml:"repomd"`
	Revision int64    `xml:"revision"`
	Data     []Data   `xml:"data"`
}

func (*RepoData) PrimaryXML

func (d *RepoData) PrimaryXML() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL