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

Function NewTemporalFactStoreAdapter

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

NewTemporalFactStoreAdapter creates an adapter that exposes all temporal facts as regular facts (ignoring time constraints).

(temporal TemporalFactStore)

Source from the content-addressed store, hash-verified

408// NewTemporalFactStoreAdapter creates an adapter that exposes all temporal facts
409// as regular facts (ignoring time constraints).
410func NewTemporalFactStoreAdapter(temporal TemporalFactStore) *TemporalFactStoreAdapter {
411 return &TemporalFactStoreAdapter{temporal: temporal, queryAt: nil}
412}
413
414// NewTemporalFactStoreAdapterAt creates an adapter that only exposes facts
415// valid at the specified time.

Callers 5

updateCombinedStoreMethod · 0.92
runEvaluateFunction · 0.92

Calls

no outgoing calls

Tested by 4

runEvaluateFunction · 0.74