MCPcopy Create free account
hub / github.com/annotorious/annotorious / clear

Function clear

packages/annotorious/src/state/spatialTree.ts:28–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26 const all = () => [...index.values()];
27
28 const clear = () => {
29 tree.clear();
30 index.clear();
31 }
32
33 const insert = (target: AnnotationTarget) => {
34 if (!isImageAnnotationTarget(target)) return;

Callers 1

setFunction · 0.70

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected