MCPcopy
hub / github.com/claude-code-best/claude-code / getHead

Function getHead

src/utils/git.ts:257–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255}
256
257export const getHead = async (): Promise<string> => {
258 return getCachedHead()
259}
260
261export const getBranch = async (): Promise<string> => {
262 return getCachedBranch()

Callers 1

getGitStateFunction · 0.85

Calls 1

getCachedHeadFunction · 0.85

Tested by

no test coverage detected