@alauda/doom
Version:
Doctor Doom making docs.
9 lines (8 loc) • 405 B
TypeScript
/**
* Converts a file path to a POSIX-style path.
* On Windows, it replaces DOS device paths and converts backslashes to forward slashes.
* @param path - The file path to convert.
* @returns The converted POSIX-style path.
* @see https://github.com/mrmlnc/fast-glob/blob/28a3d61e44d5d9193ba97de4f21df6dc7725f7c0/src/utils/path.ts
*/
export declare function convertPathToPosix(path: string): string;