| 97 | }; |
| 98 | |
| 99 | interface _StructuredPatchOptionsAbortable extends Pick<DiffLinesOptionsAbortable, 'ignoreWhitespace' | 'stripTrailingCr'> { |
| 100 | /** |
| 101 | * describes how many lines of context should be included. |
| 102 | * You can set this to `Number.MAX_SAFE_INTEGER` or `Infinity` to include the entire file content in one hunk. |
| 103 | * @default 4 |
| 104 | */ |
| 105 | context?: number, |
| 106 | callback?: StructuredPatchCallbackAbortable, |
| 107 | } |
| 108 | export type StructuredPatchOptionsAbortable = _StructuredPatchOptionsAbortable & AbortableDiffOptions; |
| 109 | export interface StructuredPatchOptionsNonabortable extends Pick<DiffLinesOptionsNonabortable, 'ignoreWhitespace' | 'stripTrailingCr'> { |
| 110 | context?: number, |
nothing calls this directly
no outgoing calls
no test coverage detected