MCPcopy Create free account
hub / github.com/benjitaylor/agentation / getStorageKey

Function getStorageKey

package/src/utils/storage.ts:14–16  ·  view source on GitHub ↗
(pathname: string)

Source from the content-addressed store, hash-verified

12const DEFAULT_RETENTION_DAYS = 7;
13
14export function getStorageKey(pathname: string): string {
15 return `${STORAGE_PREFIX}${pathname}`;
16}
17
18export function loadAnnotations<T = Annotation>(pathname: string): T[] {
19 if (typeof window === "undefined") return [];

Callers 4

PageFeedbackToolbarCSSFunction · 0.90
loadAnnotationsFunction · 0.85
saveAnnotationsFunction · 0.85
clearAnnotationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…