MCPcopy Create free account
hub / github.com/The-CodingSloth/haha-funny-leetcode-extension / updateProblemSolvedState

Function updateProblemSolvedState

storage.ts:42–44  ·  view source on GitHub ↗
(isSolved: boolean)

Source from the content-addressed store, hash-verified

40
41// TODO: Maybe this needs to be exported for clarity (instead of being used in updateProblem and updateStreak)
42async function updateProblemSolvedState(isSolved: boolean) {
43 await storage.set("leetCodeProblemSolved", isSolved)
44}
45
46export async function getLastCompletion() {
47 const lastCompletedString = await storage.get("lastCompleted")

Callers 2

updateProblemFunction · 0.85
updateStreakFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected