MCPcopy Create free account
hub / github.com/SeldonIO/seldon-server / addItem

Function addItem

client/js-client/src/rlClient.js:239–244  ·  view source on GitHub ↗
(item_id, type, title, callback)

Source from the content-addressed store, hash-verified

237 }
238
239 function addItem(item_id, type, title, callback) {
240 return withMandatory("item_id", item_id, function () {
241 var url = itemUrl(item_id, title, type);
242 jsonpCall(url, callback);
243 });
244 }
245
246
247

Callers

nothing calls this directly

Calls 3

withMandatoryFunction · 0.85
itemUrlFunction · 0.85
jsonpCallFunction · 0.85

Tested by

no test coverage detected