feat: init
This commit is contained in:
17
node_modules/diff/libesm/patch/line-endings.d.ts
generated
vendored
Normal file
17
node_modules/diff/libesm/patch/line-endings.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { StructuredPatch } from '../types.js';
|
||||
export declare function unixToWin(patch: StructuredPatch): StructuredPatch;
|
||||
export declare function unixToWin(patches: StructuredPatch[]): StructuredPatch[];
|
||||
export declare function unixToWin(patch: StructuredPatch | StructuredPatch[]): StructuredPatch | StructuredPatch[];
|
||||
export declare function winToUnix(patch: StructuredPatch): StructuredPatch;
|
||||
export declare function winToUnix(patches: StructuredPatch[]): StructuredPatch[];
|
||||
export declare function winToUnix(patch: StructuredPatch | StructuredPatch[]): StructuredPatch | StructuredPatch[];
|
||||
/**
|
||||
* Returns true if the patch consistently uses Unix line endings (or only involves one line and has
|
||||
* no line endings).
|
||||
*/
|
||||
export declare function isUnix(patch: StructuredPatch | StructuredPatch[]): boolean;
|
||||
/**
|
||||
* Returns true if the patch uses Windows line endings and only Windows line endings.
|
||||
*/
|
||||
export declare function isWin(patch: StructuredPatch | StructuredPatch[]): boolean;
|
||||
//# sourceMappingURL=line-endings.d.ts.map
|
||||
Reference in New Issue
Block a user