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 / large-file-hunks / large-file-hunks.ts
11 lines · 278 BRaw
1import type Types from '../types'
2
3/**
4 * The body of a file whose diff text passed MAX_DIFF_BYTES: no hunks, and
5 * the pane says the file is too large.
6 */
7export const LARGE_FILE_HUNKS: Types.FileHunks = Object.freeze({
8 hunks: [],
9 isTruncated: false,
10 isLarge: true,
11})