MCPcopy Index your code
hub / github.com/codeaashu/claude-code / hasValidDates

Function hasValidDates

src/commands/insights.ts:730–735  ·  view source on GitHub ↗
(log: LogOption)

Source from the content-addressed store, hash-verified

728}
729
730function hasValidDates(log: LogOption): boolean {
731 return (
732 !Number.isNaN(log.created.getTime()) &&
733 !Number.isNaN(log.modified.getTime())
734 )
735}
736
737function logToSessionMeta(log: LogOption): SessionMeta {
738 const stats = extractToolStats(log)

Callers 1

generateUsageReportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected