xo
Version:
JavaScript/TypeScript linter (ESLint wrapper) with great defaults
9 lines (8 loc) • 376 B
TypeScript
import { Pattern } from '../types';
/**
* Designed to work only with simple paths: `dir\\file`.
*/
export declare function unixify(filepath: string): string;
export declare function makeAbsolute(cwd: string, filepath: string): string;
export declare function escape(pattern: Pattern): Pattern;
export declare function removeLeadingDotSegment(entry: string): string;