MCPcopy Create free account
hub / github.com/cloudflare/computer / formatLogOneline

Function formatLogOneline

packages/computer/src/git/cli.ts:807–810  ·  view source on GitHub ↗
(commits: CommitView[])

Source from the content-addressed store, hash-verified

805}
806
807function formatLogOneline(commits: CommitView[]): string {
808 if (commits.length === 0) return "";
809 return `${commits.map((c) => `${c.oid.slice(0, 7)} ${firstLine(c.message)}`).join("\n")}\n`;
810}
811
812function formatLogFull(commits: CommitView[]): string {
813 if (commits.length === 0) return "";

Callers 1

runLogFunction · 0.85

Calls 1

firstLineFunction · 0.85

Tested by

no test coverage detected