Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
272
export
const
getHead =
async
(): Promise<string> => {
273
return
getCachedHead()
274
}
275
276
export
const
getBranch =
async
(): Promise<string> => {
277
return
getCachedBranch()
Callers
1
getGitState
Function · 0.85
Calls
1
getCachedHead
Function · 0.85
Tested by
no test coverage detected