MCPcopy Create free account
hub / github.com/Noumena-Network/code / getHead

Function getHead

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

Source from the content-addressed store, hash-verified

270}
271
272export const getHead = async (): Promise<string> => {
273 return getCachedHead()
274}
275
276export const getBranch = async (): Promise<string> => {
277 return getCachedBranch()

Callers 1

getGitStateFunction · 0.85

Calls 1

getCachedHeadFunction · 0.85

Tested by

no test coverage detected