MCPcopy Create free account
hub / github.com/anthropics/claude-code / readHeadKey

Function readHeadKey

mods/diff/hooks/register.ts:256–256  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

254
255 function startPoll(engine: Host, pinned: Backend.Backend) {
256 const readHeadKey = () => pinned.headKeyOf().catch(() => '')
257
258 if (polled.toplevel === pinned.repository.toplevel) {
259 return

Callers 1

startPollFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected