MCPcopy
hub / github.com/go-task/task / StatusCheckable

Interface StatusCheckable

internal/fingerprint/checker.go:10–12  ·  view source on GitHub ↗

StatusCheckable defines any type that can check if the status of a task is up-to-date.

Source from the content-addressed store, hash-verified

8
9// StatusCheckable defines any type that can check if the status of a task is up-to-date.
10type StatusCheckable interface {
11 IsUpToDate(ctx context.Context, t *ast.Task) (bool, error)
12}
13
14// SourcesCheckable defines any type that can check if the sources of a task are up-to-date.
15type SourcesCheckable interface {

Callers 2

TestIsTaskUpToDateFunction · 0.65
IsTaskUpToDateFunction · 0.65

Implementers 8

NoneCheckerinternal/fingerprint/sources_none.go
StatusCheckerinternal/fingerprint/status.go
TimestampCheckerinternal/fingerprint/sources_timestamp
MockStatusCheckableinternal/fingerprint/checker_mock.go
MockStatusCheckable_Expecterinternal/fingerprint/checker_mock.go
MockSourcesCheckableinternal/fingerprint/checker_mock.go
MockSourcesCheckable_Expecterinternal/fingerprint/checker_mock.go
ChecksumCheckerinternal/fingerprint/sources_checksum.

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…