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 / repository.ts
11 lines · 425 BRaw
1/**
2 * Git's output in /work, where one file changed, for each invocation whose
3 * command line holds the key.
4 */
5export const REPOSITORY: Readonly<Record<string, string>> = {
6 'rev-parse --path-format=absolute': '/work\n/work/.git\n/work/.git\n',
7 'HEAD --shortstat': ' 1 file changed, 1 insertion(+)',
8 'HEAD --numstat': '1\t0\tapp.ts\0',
9 'ls-files': '',
10 '-- app.ts': '@@ -1 +1 @@\n-const a = 1\n+const a = 2\n',
11}