poku
Version:
🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.
7 lines (6 loc) • 487 B
TypeScript
import type { Configs } from '../../@types/list-files.js';
export declare const sanitizePath: (input: string, ensureTarget?: boolean) => string;
export declare const isFile: (fullPath: string) => Promise<boolean>;
export declare const escapeRegExp: (string: string) => string;
export declare const getAllFiles: (dirPath: string, files?: Set<string>, configs?: Configs) => Promise<Set<string>>;
export declare const listFiles: (targetDir: string, configs?: Configs) => Promise<string[]>;