UNPKG

opencoder

Version:
8 lines (7 loc) 214 B
import { type Hunk } from "diff"; export declare function getPatch({ filePath, fileContents, oldStr, newStr, }: { filePath: string; fileContents: string; oldStr: string; newStr: string; }): Hunk[];