mirror of
https://github.com/go-task/task.git
synced 2024-12-14 10:52:43 +02:00
33b167215d
- this makes it impossible to import these packages outside Task - as a side effect, it makes the root directory cleaner
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
|
|
}
|