MCPcopy Create free account
hub / github.com/corestoreio/pkg / merge

Method merge

config/elements.go:167–193  ·  view source on GitHub ↗

Merge copies the data from a Section into this slice. Appends if ID is not found in this slice otherwise overrides struct fields if not empty. Not thread safe.

(s *Section)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

MergeMethod · 0.95

Calls 2

FindMethod · 0.95
MergeMethod · 0.45

Tested by

no test coverage detected