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

Function recordFirstStartTime

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

Source from the content-addressed store, hash-verified

1786}
1787
1788export function recordFirstStartTime(): void {
1789 const config = getGlobalConfig()
1790 if (!config.firstStartTime) {
1791 const firstStartTime = new Date().toISOString()
1792 saveGlobalConfig(current => ({
1793 ...current,
1794 firstStartTime: current.firstStartTime ?? firstStartTime,
1795 }))
1796 }
1797}
1798
1799export function getMemoryPath(memoryType: MemoryType): string {
1800 const cwd = getOriginalCwd()

Callers 1

init.tsFile · 0.85

Calls 2

getGlobalConfigFunction · 0.85
saveGlobalConfigFunction · 0.85

Tested by

no test coverage detected