Documentation ¶
Overview ¶
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 ¶
const BYTE_BUFFER_LEN = 100
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
func (*Checker) AddPackage ¶
func (*Checker) GetPackages ¶
type CheckerConcurrent ¶
type CheckerConcurrent struct {
*Checker
}
I use anonymous field to override Run and other methods
func NewCheckerConcurrent ¶
type CheckerExecutor ¶
type Package ¶
type Package struct {
// contains filtered or unexported fields
}
func (*Package) CalculateCRC ¶
func (*Package) ProcessTarFile ¶
type PackageSorter ¶
type PackageSorter []Package
func (PackageSorter) Len ¶
func (p PackageSorter) Len() int
func (PackageSorter) Less ¶
func (p PackageSorter) Less(i, j int) bool
func (PackageSorter) Swap ¶
func (p PackageSorter) Swap(i, j int)