MCPcopy Create free account
hub / github.com/dotchain/dot / GetSince

Method GetSince

ops/store.go:40–40  ·  view source on GitHub ↗

GetSince returns all operations with version atleast equal to the specified parameter. If the number of operations is larger than the limit, it is truncated. It is not an error if the version does not exist -- an empty result is returned in that case. If a timeout is provided, it is used as a pol

(ctx context.Context, version, limit int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

mainFunction · 0.95
TestTransformerBasicFunction · 0.65
TestTransformerBranchedFunction · 0.65
TestTransformedOpByOpFunction · 0.65
GetSinceMethod · 0.65
GetSinceMethod · 0.65
TestPolledFunction · 0.65
TestClosedPolledStoreFunction · 0.65
TestPolledErrorFunction · 0.65
GetSinceMethod · 0.65

Implementers 10

pollerops/poller.go
fakeStoreops/poller_test.go
storeops/pg/pg.go
unreliableops/sync/reliable_test.go
reliableops/sync/reliable.go
fakeStoreops/sync/sync_test.go
storeops/bolt/bolt.go
fakeStoreops/nw/nw_test.go
Clientops/nw/clientjs.go
memtest/testops/store.go

Calls

no outgoing calls

Tested by 15

TestTransformerBasicFunction · 0.52
TestTransformerBranchedFunction · 0.52
TestTransformedOpByOpFunction · 0.52
GetSinceMethod · 0.52
TestPolledFunction · 0.52
TestClosedPolledStoreFunction · 0.52
TestPolledErrorFunction · 0.52
TestSimpleFunction · 0.52
TestGetSinceBlockingFunction · 0.52
TestErrorsFunction · 0.52