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

Function readHeadKey

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

Source from the content-addressed store, hash-verified

163
164 function startPoll(engine: Host, pinned: Backend.Backend) {
165 const readHeadKey = () => pinned.headKeyOf().catch(() => '')
166
167 if (polled.toplevel === pinned.repository.toplevel) {
168 return

Callers 1

startPollFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected