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

Function recordFirstStartTime

src/utils/config.ts:1768–1777  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1766}
1767
1768export function recordFirstStartTime(): void {
1769 const config = getGlobalConfig()
1770 if (!config.firstStartTime) {
1771 const firstStartTime = new Date().toISOString()
1772 saveGlobalConfig(current => ({
1773 ...current,
1774 firstStartTime: current.firstStartTime ?? firstStartTime,
1775 }))
1776 }
1777}
1778
1779export function getMemoryPath(memoryType: MemoryType): string {
1780 const cwd = getOriginalCwd()

Callers 1

init.tsFile · 0.85

Calls 2

getGlobalConfigFunction · 0.85
saveGlobalConfigFunction · 0.85

Tested by

no test coverage detected