MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / diffArguments

Function diffArguments

desktop/project-git/commit-context.ts:53–59  ·  view source on GitHub ↗
(hasHead: boolean, extraArgs: string[])

Source from the content-addressed store, hash-verified

51 }
52
53 const diffArguments = (hasHead: boolean, extraArgs: string[]) => [
54 'diff',
55 '--cached',
56 ...(hasHead ? [] : ['--root']),
57 ...extraArgs,
58 '--',
59 ]
60
61 const loadContextOutputs = async (options?: {
62 env?: NodeJS.ProcessEnv

Callers 1

loadContextOutputsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected