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

Function getAutoMemDailyLogPath

src/memdir/paths.ts:246–251  ·  view source on GitHub ↗
(date: Date = new Date())

Source from the content-addressed store, hash-verified

244 * topic files + MEMORY.md.
245 */
246export function getAutoMemDailyLogPath(date: Date = new Date()): string {
247 const yyyy = date.getFullYear().toString()
248 const mm = (date.getMonth() + 1).toString().padStart(2, '0')
249 const dd = date.getDate().toString().padStart(2, '0')
250 return join(getAutoMemPath(), 'logs', yyyy, mm, `${yyyy}-${mm}-${dd}.md`)
251}
252
253/**
254 * Returns the auto-memory entrypoint (MEMORY.md inside the auto-memory dir).

Callers

nothing calls this directly

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected