MCPcopy
hub / github.com/monkeytypegame/monkeytype / getSnapshot

Function getSnapshot

frontend/src/ts/db.ts:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41const firstDayOfTheWeek = getFirstDayOfTheWeek();
42
43export function getSnapshot(): Snapshot | undefined {
44 return dbSnapshot;
45}
46
47export function setSnapshot(
48 newSnapshot: Snapshot | undefined,

Callers 15

page-controller.tsFile · 0.90
showUnlinkDiscordModalFunction · 0.90
syncFunction · 0.90
yearOptionsFunction · 0.90
getLbMemoryDifferenceFunction · 0.90
LeaderboardPageFunction · 0.90
showFunction · 0.90
applyFunction · 0.90
updateAccountSectionsFunction · 0.90
updateLbMemoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected