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 / names / texts / untracked-withheld-text-of.ts
14 lines · 490 BRaw
1import type PaneState from '../../pane-state'
2
3/**
4 * The pane's word for a fetch whose untracked listing the backend did not
5 * give whole: the tracked rows stand, the new files are not counted.
6 *
7 * @param model the pane's state, its words naming the program that lists them
8 * @returns the note
9 */
10export const untrackedWithheldTextOf = (
11 model: Pick<PaneState.PaneModel, 'words'>,
12) =>
13 `Untracked files unavailable (${model.words.lister} could not list them); ` +
14 'not counted'