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
260 B
Raw Blame
/**
 * A file's unified diff after its opening line: one hunk, a line of context
 * and one added line.
 *
 * @param text the added line, without its marker
 * @returns the body
 */
export const oneAddedOf = (text: string) => `@@ -1 +1,2 @@\n one\n+${text}\n`