yay/pkg/db/executor.go

21 lines
280 B
Go
Raw Normal View History

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
ISize() int64
2020-08-01 01:20:00 +02:00
Name() string
ShouldIgnore() bool
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
}