MCPcopy Create free account
hub / github.com/codeaashu/claude-code / verifySharePassword

Function verifySharePassword

web/lib/share-store.ts:74–78  ·  view source on GitHub ↗
(shareId: string, password: string)

Source from the content-addressed store, hash-verified

72}
73
74export function verifySharePassword(shareId: string, password: string): boolean {
75 const entry = store.get(shareId);
76 if (!entry || entry.visibility !== "password") return false;
77 return entry.passwordHash === password;
78}
79
80export function revokeShare(shareId: string): boolean {
81 return store.delete(shareId);

Callers 1

GETFunction · 0.90

Calls 1

getMethod · 0.65

Tested by

no test coverage detected