MCPcopy Create free account
hub / github.com/codeaashu/claude-code / pushPart

Function pushPart

src/components/messages/CollapsedReadSearchContent.tsx:299–305  ·  view source on GitHub ↗
(key: string, verb: string, body: React.ReactNode)

Source from the content-addressed store, hash-verified

297
298 // Git operations lead the line — they're the load-bearing outcome.
299 function pushPart(key: string, verb: string, body: React.ReactNode): void {
300 const isFirst = nonMemParts.length === 0;
301 if (!isFirst) nonMemParts.push(<Text key={`comma-${key}`}>, </Text>);
302 nonMemParts.push(<Text key={key}>
303 {isFirst ? verb[0]!.toUpperCase() + verb.slice(1) : verb} {body}
304 </Text>);
305 }
306 if (isFullscreenEnvEnabled() && message.commits?.length) {
307 const byKind = {
308 committed: 'committed',

Callers 1

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected