MCPcopy Create free account
hub / github.com/backnotprop/plannotator / update

Method update

packages/shared/external-annotation.ts:351–351  ·  view source on GitHub ↗

Update an annotation by ID. Returns the updated annotation, or null if not found.

(id: string, fields: Partial<T>)

Source from the content-addressed store, hash-verified

349 clearBySource(source: string): number;
350 /** Update an annotation by ID. Returns the updated annotation, or null if not found. */
351 update(id: string, fields: Partial<T>): T | null;
352 /** Remove all annotations. Returns count removed. */
353 clearAll(): number;
354 /** Get all annotations (snapshot). */

Callers 8

semanticDiffCacheKeyFunction · 0.80
contentHashFunction · 0.80
hashSourceBytesFunction · 0.80
handleFunction · 0.80
openInPanelFunction · 0.80
activateFunction · 0.80
plannotatorFunction · 0.80
handleFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected