MCPcopy Create free account
hub / github.com/ethstorage/es-node / remove

Method remove

ethstorage/p2p/protocol/task.go:71–77  ·  view source on GitHub ↗
(list []uint64)

Source from the content-addressed store, hash-verified

69}
70
71func (h *healTask) remove(list []uint64) {
72 for _, idx := range list {
73 if _, ok := h.Indexes[idx]; ok {
74 delete(h.Indexes, idx)
75 }
76 }
77}
78
79func (h *healTask) count() int {
80 return len(h.Indexes)

Callers 1

OnBlobsByListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected