MCPcopy Create free account
hub / github.com/anomalyco/console / formatCommit

Function formatCommit

packages/web/workspace/src/common/format.ts:168–170  ·  view source on GitHub ↗
(commit: string)

Source from the content-addressed store, hash-verified

166}
167
168export function formatCommit(commit: string) {
169 return commit.slice(0, 7);
170}

Callers 4

GithubFunction · 0.90
CardFunction · 0.90
RunItemFunction · 0.90
SidebarFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected