MCPcopy Create free account
hub / github.com/claude-code-best/claude-code / formatCountdown

Function formatCountdown

src/components/StatusLine.tsx:60–65  ·  view source on GitHub ↗
(remainingMs: number)

Source from the content-addressed store, hash-verified

58}
59
60function formatCountdown(remainingMs: number): string {
61 if (remainingMs <= 0) return 'exp';
62 const mins = Math.floor(remainingMs / 60_000);
63 const secs = Math.floor((remainingMs % 60_000) / 1000);
64 return `${padTwo(mins)}:${padTwo(secs)}`;
65}
66
67type CachePillProps = {
68 messages: Message[];

Callers 1

CachePillFunction · 0.70

Calls 1

padTwoFunction · 0.70

Tested by

no test coverage detected