MCPcopy Create free account
hub / github.com/PatrickSys/codebase-context / parseGitLogToMemories

Function parseGitLogToMemories

src/memory/git-memory.ts:46–55  ·  view source on GitHub ↗
(log: string)

Source from the content-addressed store, hash-verified

44}
45
46export function parseGitLogToMemories(log: string): Memory[] {
47 if (!log.trim()) return [];
48
49 const memories: Memory[] = [];
50 for (const line of log.split('\n')) {
51 const parsed = parseGitLogLineToMemory(line);
52 if (parsed) memories.push(parsed);
53 }
54 return memories;
55}

Callers 1

Calls 1

parseGitLogLineToMemoryFunction · 0.85

Tested by

no test coverage detected