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 ¶
Types ¶
type EntropyPackage ¶
type EntropyPackage struct { *gentoo.GentooPackage Revision int `json:"revision",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)