MCPcopy Create free account
hub / github.com/emwalker/digraph / updater

Function updater

client/src/mutations/deleteLinkMutation.ts:23–25  ·  view source on GitHub ↗
(store: RecordSourceSelectorProxy)

Source from the content-addressed store, hash-verified

21 const deleteLink = useMutation<deleteLinkMutation>(query)[0]
22
23 const updater = (store: RecordSourceSelectorProxy) => {
24 store.delete(linkId)
25 }
26
27 return useCallback(() => {
28 if (!selectedRepoId) {

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.80

Tested by

no test coverage detected