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

Function readHeadKey

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

Source from the content-addressed store, hash-verified

275
276 function startPoll(engine: Host, pinned: Backend.Backend) {
277 const readHeadKey = () => pinned.headKeyOf().catch(() => '')
278
279 if (polled.toplevel === pinned.repository.toplevel) {
280 return

Callers 1

startPollFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected