MCPcopy
hub / github.com/gitcoinco/web / delete

Method delete

app/assets/v2/js/ipfs-api.js:48243–48252  ·  view source on GitHub ↗
(ma)

Source from the content-addressed store, hash-verified

48241 }
48242
48243 delete (ma) {
48244 ma = ensureMultiaddr(ma)
48245
48246 this._multiaddrs.some((m, i) => {
48247 if (m.equals(ma)) {
48248 this._multiaddrs.splice(i, 1)
48249 return true
48250 }
48251 })
48252 }
48253
48254 // replaces selected existing multiaddrs with new ones
48255 replace (existing, fresh) {

Callers 15

replaceMethod · 0.95
revoke_tokenFunction · 0.80
delete_issue_commentFunction · 0.80
delFunction · 0.80
account_settingsFunction · 0.80
handleMethod · 0.80
create_new_bountyFunction · 0.80
new_interestFunction · 0.80
remove_interestFunction · 0.80
uninterestedFunction · 0.80

Calls 2

ensureMultiaddrFunction · 0.85
equalsMethod · 0.45

Tested by 2

tearDownMethod · 0.64