2020-07-29 01:53:25 +02:00
|
|
|
package db
|
|
|
|
|
2020-08-01 01:20:00 +02:00
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
|
|
|
alpm "github.com/Jguer/go-alpm"
|
|
|
|
)
|
2020-07-29 01:53:25 +02:00
|
|
|
|
|
|
|
type RepoPackage interface {
|
|
|
|
Base() string
|
2020-08-01 01:20:00 +02:00
|
|
|
BuildDate() time.Time
|
2020-07-29 01:53:25 +02:00
|
|
|
DB() *alpm.DB
|
2020-08-01 01:20:00 +02:00
|
|
|
Description() string
|
2020-08-01 00:01:01 +02:00
|
|
|
ISize() int64
|
2020-08-01 01:20:00 +02:00
|
|
|
Name() string
|
|
|
|
ShouldIgnore() bool
|
2020-08-01 00:01:01 +02:00
|
|
|
Size() int64
|
2020-08-01 01:20:00 +02:00
|
|
|
Version() string
|
2020-08-04 22:00:07 +02:00
|
|
|
Reason() alpm.PkgReason
|
2020-07-29 01:53:25 +02:00
|
|
|
}
|