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 / tiers / diff-data-of / diff-basis / diff-basis.ts
12 lines · 321 BRaw
1import type Types from '../../../types'
2
3/**
4 * What a tier decided about its diff besides the rows: what it compares,
5 * the ref the hunks read against, whether HEAD is unborn, stale bodies.
6 */
7export type DiffBasis = {
8 source: Types.DiffSource
9 baseRef: string
10 isUnborn: boolean
11 stalePaths: readonly string[]
12}