MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / insertObjs

Method insertObjs

internal/model/obj.go:209–216  ·  view source on GitHub ↗
(objs []Obj, objs_ ...Obj)

Source from the content-addressed store, hash-verified

207}
208
209func (om *ObjMerge) insertObjs(objs []Obj, objs_ ...Obj) []Obj {
210 for _, obj := range objs_ {
211 if om.clickObj(obj) {
212 objs = append(objs, obj)
213 }
214 }
215 return objs
216}
217
218func (om *ObjMerge) clickObj(obj Obj) bool {
219 for _, reg := range om.regs {

Callers 1

MergeMethod · 0.95

Calls 1

clickObjMethod · 0.95

Tested by

no test coverage detected