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

Function isLinkExpired

web/lib/collaboration/permissions.ts:76–78  ·  view source on GitHub ↗
(link: ShareLink)

Source from the content-addressed store, hash-verified

74}
75
76export function isLinkExpired(link: ShareLink): boolean {
77 return link.expiresAt !== null && Date.now() > link.expiresAt;
78}
79
80export function buildShareUrl(linkId: string, role: CollabRole): string {
81 const base =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected