MCPcopy Create free account
hub / github.com/MagicCube/agentara / CommitFileChanges

Function CommitFileChanges

web/src/components/ai-elements/commit.tsx:377–391  ·  view source on GitHub ↗
({
  className,
  children,
  ...props
}: CommitFileChangesProps)

Source from the content-addressed store, hash-verified

375export type CommitFileChangesProps = HTMLAttributes<HTMLDivElement>;
376
377export const CommitFileChanges = ({
378 className,
379 children,
380 ...props
381}: CommitFileChangesProps) => (
382 <div
383 className={cn(
384 "flex shrink-0 items-center gap-1 font-mono text-xs",
385 className
386 )}
387 {...props}
388 >
389 {children}
390 </div>
391);
392
393export type CommitFileAdditionsProps = HTMLAttributes<HTMLSpanElement> & {
394 count: number;

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected