repojson

package
v0.0.0-...-20a9361 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo struct {
	Name    string `json:"name"`
	Arch    string `json:"arch"`
	Version string `json:"version"`
	Summary string `json:"summary"`
}

Repo fields is column names from packages table in primary.sqlite file. Other columns not exposed yet pkgKey,pkgId,epoch,release,description,url, time_file,time_build,rpm_license,rpm_vendor, rpm_group,rpm_buildhost,rpm_sourcerpm,rpm_header_start, rpm_header_end,rpm_packager,size_package,size_installed, size_archive,location_href,location_base,checksum_type

func RepoJSON

func RepoJSON(path string) ([]Repo, error)

RepoJSON is main function in repojson package to return array of Repo objects

Jump to

Keyboard shortcuts

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