@softwareventures/maintain-project
Version:
Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited
13 lines (12 loc) • 572 B
TypeScript
import type { Dirent } from "fs";
import type { ReadTextResult } from "../project/read-text.js";
import type { Ignore } from "./ignore.js";
export interface ReadIgnoreOptions {
path: string;
dirname: (path: string) => string;
basename: (path: string) => string;
join: (...paths: string[]) => string;
readDirectory: (path: string) => Promise<readonly Dirent[]>;
readText: (path: string) => Promise<ReadTextResult>;
}
export declare function readIgnore({ path, dirname, basename, join, readDirectory, readText }: ReadIgnoreOptions): Promise<Ignore>;