Files
dealplustech/node_modules/diff/libcjs/patch/line-endings.d.ts
Kunthawat Greethong 443c3377e2 refactor: Move Astro to root, use PORT env (default 80), allow all hosts
- Move Astro files from dealplustech-astro/ to project root
- Update Dockerfile: PORT environment variable (default 80)
- Add vite.config.ts with allowedHosts: true
- Matches nixpacks behavior for Easypanel deployment
- No hardcoded ports or domains
2026-03-03 11:40:50 +07:00

17 lines
1.0 KiB
TypeScript

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