Download mods/diff/hooks/git/tiers/diff-data-of/diff-basis/diff-basis.ts from SaylorTwift/claude-code: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/hooks/git/tiers/diff-data-of/diff-basis/diff-basis.ts
- Command line
-
hf download hf://SaylorTwift/claude-code/mods/diff/hooks/git/tiers/diff-data-of/diff-basis/diff-basis.ts
-
curl -L -o diff-basis.ts https://huggingface.co/SaylorTwift/claude-code/resolve/main/mods/diff/hooks/git/tiers/diff-data-of/diff-basis/diff-basis.ts
321 Bytes
| import type Types from '../../../types' | |
| /** | |
| * What a tier decided about its diff besides the rows: what it compares, | |
| * the ref the hunks read against, whether HEAD is unborn, stale bodies. | |
| */ | |
| export type DiffBasis = { | |
| source: Types.DiffSource | |
| baseRef: string | |
| isUnborn: boolean | |
| stalePaths: readonly string[] | |
| } | |