path.d.ts 428 B

123456789101112
  1. /**
  2. * Returns «true» if the last partial of the path starting with a period.
  3. */
  4. export declare function isDotDirectory(filepath: string): boolean;
  5. /**
  6. * Convert a windows-like path to a unix-style path.
  7. */
  8. export declare function normalize(filepath: string): string;
  9. /**
  10. * Returns normalized absolute path of provided filepath.
  11. */
  12. export declare function makeAbsolute(cwd: string, filepath: string): string;