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 / pane-view / small-body.ts
11 lines · 315 BRaw
1import type Git from '../../../hooks/git'
2
3/**
4 * A one-hunk body with a context line, a removal and an addition: enough
5 * to draw the word highlight.
6 */
7export const SMALL_BODY: Git.FileHunks = {
8 hunks: [{ oldStart: 1, newStart: 1, lines: [' ctx', '-old', '+new'] }],
9 isTruncated: false,
10 isLarge: false,
11}