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

Function linesOf

mods/diff/tests/git/fetch-hunks.test.ts:55–56  ·  view source on GitHub ↗
(body: Git.FileHunks | null | undefined)

Source from the content-addressed store, hash-verified

53 }
54
55 const linesOf = (body: Git.FileHunks | null | undefined) =>
56 body?.hunks.flatMap(hunk => hunk.lines)
57
58 const FIFTY = Array.from({ length: Limits.MAX_FILES }, (_, at) =>
59 rowOf(`src/file${at + Limits.MAX_FILES}.ts`),

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected