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 / fetch-diff / files-listing.ts
18 lines · 499 BRaw
1import type Git from '../../../hooks/git'
2
3/**
4 * What the working tree lists as: the files the cases name are plain
5 * files; the link, the leak and the submodule are something else.
6 */
7export const FILES_LISTING: readonly (readonly [string, Git.EntryKind])[] = [
8 ['old.ts', 'file'],
9 ['new.ts', 'file'],
10 ['scratch.txt', 'file'],
11 ['stale.txt', 'file'],
12 ['fresh.txt', 'file'],
13 ['a.ts', 'file'],
14 ['staged.ts', 'file'],
15 ['link.ts', 'other'],
16 ['leak', 'other'],
17 ['sub', 'other'],
18]