( fileName: string, oldStr: string, newStr: string, oldHeader?: string, newHeader?: string, options?: CreatePatchOptionsAbortable | CreatePatchOptionsNonabortable | CreatePatchCallbackNonabortable )
| 617 | options?: CreatePatchOptionsNonabortable |
| 618 | ): string |
| 619 | export function createPatch( |
| 620 | fileName: string, |
| 621 | oldStr: string, |
| 622 | newStr: string, |
| 623 | oldHeader?: string, |
| 624 | newHeader?: string, |
| 625 | options?: CreatePatchOptionsAbortable | CreatePatchOptionsNonabortable | CreatePatchCallbackNonabortable |
| 626 | ): string | undefined { |
| 627 | return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options as any); |
| 628 | } |
| 629 | |
| 630 | /** |
| 631 | * Split `text` into an array of lines, including the trailing newline character (where present) |
no test coverage detected