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

Function padTwo

src/components/StatusLine.tsx:56–58  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

54const CACHE_TTL_MS = 60 * 60 * 1000; // 60 minutes
55
56function padTwo(n: number): string {
57 return String(Math.floor(n)).padStart(2, '0');
58}
59
60function formatCountdown(remainingMs: number): string {
61 if (remainingMs <= 0) return 'exp';

Callers 1

formatCountdownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected