claude-code / mods /diff /hooks /git /tiers /working-tree-basis /working-tree-basis.ts
SaylorTwift's picture
SaylorTwift HF Staff
Add files using upload-large-folder tool
00080b0 verified
Raw History Blame Contribute Delete
363 Bytes
import type DiffDataOf from '../diff-data-of'
/**
* The basis of a plain working-tree diff: against HEAD, commits present,
* every body current.
*/
export const WORKING_TREE_BASIS: DiffDataOf.DiffBasis = Object.freeze({
source: Object.freeze({ kind: 'working-tree', base: 'HEAD' }),
baseRef: 'HEAD',
isUnborn: false,
stalePaths: Object.freeze([]),
})