entropy

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Copyright (C) 2017-2020 Daniele Rondina <geaaru@sabayonlinux.org>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Copyright (C) 2017-2019 Daniele Rondina <geaaru@sabayonlinux.org>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EntropyIsPkgWithRevision

func EntropyIsPkgWithRevision(pkgname string) (ans bool)

Types

type EntropyPackage

type EntropyPackage struct {
	*gentoo.GentooPackage
	Revision           int    `json:"revision,omitempty"`
	KernelModuleSuffix string `json:"kernel_module,omitempty"`
}

func NewEntropyPackage

func NewEntropyPackage(pkgname string) (*EntropyPackage, error)

func RetrieveRepoPackages added in v0.6.2

func RetrieveRepoPackages(dbpath string) ([]*EntropyPackage, error)

type EntropyPackageDetail added in v0.6.2

type EntropyPackageDetail struct {
	Id           int               `json:"id,omitempty"`
	Package      EntropyPackage    `json:"package"`
	Dependencies []*EntropyPackage `json:"dependencies"`
	Files        []string          `json:"files,omitempty"`
}

func RetrievePackageData added in v0.6.2

func RetrievePackageData(pkg *EntropyPackage, dbpath string) (*EntropyPackageDetail, error)

Jump to

Keyboard shortcuts

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