MCPcopy
hub / github.com/getsentry/sentry-react-native / clear

Function clear

packages/core/src/js/profiling/cache.ts:43–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 cache[key] = value;
42 },
43 clear() {
44 cache = {};
45 evictionOrder = [];
46 },
47 get(key: Key): Value | undefined {
48 return cache[key];
49 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected