MCPcopy Index your code
hub / github.com/modelcontextprotocol/inspector / removeEntry

Function removeEntry

client/src/components/MetadataTab.tsx:39–43  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

37 };
38
39 const removeEntry = (index: number) => {
40 const newEntries = entries.filter((_, i) => i !== index);
41 setEntries(newEntries);
42 updateMetadata(newEntries);
43 };
44
45 const updateEntry = (
46 index: number,

Callers 1

MetadataTabFunction · 0.85

Calls 1

updateMetadataFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…