MCPcopy
hub / github.com/google/mangle / GetFactsAt

Method GetFactsAt

factstore/temporal.go:44–44  ·  view source on GitHub ↗

GetFactsAt returns facts valid at a specific point in time.

(query ast.Atom, t time.Time, fn func(TemporalFact) error)

Source from the content-addressed store, hash-verified

42type ReadOnlyTemporalFactStore interface {
43 // GetFactsAt returns facts valid at a specific point in time.
44 GetFactsAt(query ast.Atom, t time.Time, fn func(TemporalFact) error) error
45
46 // GetFactsDuring returns facts that overlap with the given interval.
47 GetFactsDuring(query ast.Atom, interval ast.Interval, fn func(TemporalFact) error) error

Callers 2

GetFactsMethod · 0.65
GetFactsAtMethod · 0.65

Implementers 2

TemporalStorefactstore/temporal.go
TeeingTemporalStorefactstore/temporal.go

Calls

no outgoing calls

Tested by

no test coverage detected