spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / diff / tests / fixtures / code-blocks-of / parsed-hunk.ts
11 lines · 246 BRaw
1/**
2 * One hunk read back out of a `Code` source: its header's four numbers and
3 * the marked lines under it.
4 */
5export type ParsedHunk = {
6 oldStart: number
7 oldLines: number
8 newStart: number
9 newLines: number
10 lines: readonly string[]
11}