MCPcopy Create free account
hub / github.com/F12FLASH/CTF / getHintsByChallenge

Method getHintsByChallenge

4.Stackless Stack/server/storage.ts:333–337  ·  view source on GitHub ↗
(challengeId: string)

Source from the content-addressed store, hash-verified

331 }
332
333 async getHintsByChallenge(challengeId: string): Promise<Hint[]> {
334 return Array.from(this.hints.values())
335 .filter(hint => hint.challengeId === challengeId)
336 .sort((a, b) => a.order - b.order);
337 }
338
339 async createHint(insertHint: InsertHint): Promise<Hint> {
340 const id = randomUUID();

Callers 1

unlockHintMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected