MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / get

Function get

packages/studio/src/utils/editHistoryStorage.ts:16–18  ·  view source on GitHub ↗
(projectId)

Source from the content-addressed store, hash-verified

14 const states = new Map<string, EditHistoryState>();
15 return {
16 async get(projectId) {
17 return states.get(projectId) ?? null;
18 },
19 async set(projectId, state) {
20 states.set(projectId, structuredClone(state));
21 },

Callers 2

store.tsFile · 0.50
playerStore.tsFile · 0.50

Calls 1

getMethod · 0.80

Tested by

no test coverage detected