utils.d.ts 416 B

123456789
  1. import { PathSeparator } from "./types";
  2. export declare function cleanPath(path: string): string;
  3. export declare function convertSlashes(path: string, separator: PathSeparator): string;
  4. export declare function isRootDirectory(path: string): boolean;
  5. export declare function normalizePath(path: string, options: {
  6. resolvePaths?: boolean;
  7. normalizePath?: boolean;
  8. pathSeparator: PathSeparator;
  9. }): string;