MCPcopy Index your code
hub / github.com/kpdecker/jsdiff / _StructuredPatchOptionsAbortable

Interface _StructuredPatchOptionsAbortable

src/patch/create.ts:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97};
98
99interface _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}
108export type StructuredPatchOptionsAbortable = _StructuredPatchOptionsAbortable & AbortableDiffOptions;
109export interface StructuredPatchOptionsNonabortable extends Pick<DiffLinesOptionsNonabortable, 'ignoreWhitespace' | 'stripTrailingCr'> {
110 context?: number,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected