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 / hooks / views / entries / body-entry / body-entry.ts
15 lines · 371 BRaw
1import type Git from '../../../git'
2
3/**
4 * One file as the pane lists and draws it: its row's counts and name, its
5 * kind, and its hunks so far (undefined loading, null unreadable).
6 */
7export type BodyEntry = {
8 path: string
9 displayPath: string
10 added: number
11 removed: number
12 isUntracked: boolean
13 isBinary: boolean
14 body: Git.FileHunks | null | undefined
15}