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 / unborn-tier / empty-numstat / empty-numstat.ts
10 lines · 327 BRaw
1import type Types from '../../../types'
2
3/**
4 * No rows and zero totals: what an unborn HEAD shows when even
5 * `git diff --cached` could not be read.
6 */
7export const EMPTY_NUMSTAT: Types.NumstatResult = Object.freeze({
8 stats: Object.freeze({ filesCount: 0, linesAdded: 0, linesRemoved: 0 }),
9 files: Object.freeze([]),
10})