path.d.ts 368 B

12345678
  1. import { Pattern } from '../types';
  2. /**
  3. * Designed to work only with simple paths: `dir\\file`.
  4. */
  5. export declare function unixify(filepath: string): string;
  6. export declare function makeAbsolute(cwd: string, filepath: string): string;
  7. export declare function escape(pattern: Pattern): Pattern;
  8. export declare function removeLeadingDotSegment(entry: string): string;