common.d.ts 498 B

1234567
  1. import type { FilterFunction } from '../settings';
  2. import type Settings from '../settings';
  3. import type { Errno } from '../types';
  4. export declare function isFatalError(settings: Settings, error: Errno): boolean;
  5. export declare function isAppliedFilter<T>(filter: FilterFunction<T> | null, value: T): boolean;
  6. export declare function replacePathSegmentSeparator(filepath: string, separator: string): string;
  7. export declare function joinPathSegments(a: string, b: string, separator: string): string;