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 / parse-file-diff / file-diff-header.ts
5 lines · 182 BRaw
1/**
2 * The four header lines git prints before a file's first hunk.
3 */
4export const FILE_DIFF_HEADER =
5 'diff --git a/a.txt b/a.txt\nindex 1..2 100644\n--- a/a.txt\n+++ b/a.txt\n'