mirror of
https://github.com/go-task/task.git
synced 2025-03-17 21:08:01 +02:00
14 lines
235 B
Go
14 lines
235 B
Go
package status
|
|
|
|
var (
|
|
_ Checker = &Timestamp{}
|
|
_ Checker = &Checksum{}
|
|
_ Checker = None{}
|
|
)
|
|
|
|
// Checker is an interface that checks if the status is up-to-date
|
|
type Checker interface {
|
|
IsUpToDate() (bool, error)
|
|
OnError() error
|
|
}
|