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

Method Merge

factstore/factstore.go:286–288  ·  view source on GitHub ↗

Merge forwards to writeStore.Merge

(other ReadOnlyFactStore)

Source from the content-addressed store, hash-verified

284
285// Merge forwards to writeStore.Merge
286func (s MergedStore) Merge(other ReadOnlyFactStore) {
287 s.writeStore.Merge(other)
288}
289
290// NewMergedStore returns a new MergedStore.
291func NewMergedStore[T ReadOnlyFactStore](readStores []T, writeStore FactStore) FactStore {

Callers 1

TestMergedMergeFunction · 0.95

Calls 1

MergeMethod · 0.65

Tested by 1

TestMergedMergeFunction · 0.76