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 / git / empty-file-hunks / empty-file-hunks.ts
11 lines · 295 BRaw
1import type Types from '../types'
2
3/**
4 * A body with nothing to draw: an untracked or binary row's, or a staged
5 * file's whose index body went stale on an unborn HEAD.
6 */
7export const EMPTY_FILE_HUNKS: Types.FileHunks = Object.freeze({
8 hunks: [],
9 isTruncated: false,
10 isLarge: false,
11})