Skip to content

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.

TypeScript
455 B
Raw Blame
import type Types from '../../../types'

/**
 * A tier's rows stamped with whether the untracked listing was withheld.
 *
 * @param result the rows and totals, untracked files merged in or not
 * @param mark whether git did not give the listing whole
 * @returns the merged result
 */
export const mergedResultOf = (
  result: Types.NumstatResult,
  mark: Pick<Types.MergedResult, 'isUntrackedWithheld'>,
): Types.MergedResult => ({ ...result, ...mark })