MCPcopy
hub / github.com/garethgeorge/backrest / Add

Method Add

internal/oplog/oplog.go:232–232  ·  view source on GitHub ↗

Add adds the given operations to the store.

(op ...*v1.Operation)

Source from the content-addressed store, hash-verified

230 GetHighestOpIDAndModno(q Query) (int64, int64, error)
231 // Add adds the given operations to the store.
232 Add(op ...*v1.Operation) error
233 // Update updates the given operations in the store.
234 Update(op ...*v1.Operation) error
235 // Set inserts or updates operations. Zero-valued fields (Id, Modno, FlowId) are

Callers 15

runCommandWithProgressFunction · 0.65
TestResolveScheduleFunction · 0.65
ResolveScheduleFunction · 0.65
CreateJWTMethod · 0.65
TestTPQPriorityFunction · 0.65
TestTPQStressFunction · 0.65
TestTPQRemoveFunction · 0.65
TestTPQResetFunction · 0.65
TestTPQGetAllFunction · 0.65
TestTimeQueueFunction · 0.65
TestFuzzTimeQueueFunction · 0.65

Implementers 2

SqliteStoreinternal/oplog/sqlitestore/sqlitestore
MemStoreinternal/oplog/memstore/memstore.go

Calls

no outgoing calls

Tested by 15

TestResolveScheduleFunction · 0.52
TestTPQPriorityFunction · 0.52
TestTPQStressFunction · 0.52
TestTPQRemoveFunction · 0.52
TestTPQResetFunction · 0.52
TestTPQGetAllFunction · 0.52
TestTimeQueueFunction · 0.52
TestFuzzTimeQueueFunction · 0.52