rawx
Version:
process daemon with utilities
20 lines (19 loc) • 634 B
TypeScript
import { str } from "../../ops";
export interface Matchers {
include?: Match_Item_Arg;
exclude?: Match_Item_Arg;
include_dir?: Match_Item_Arg;
exclude_dir?: Match_Item_Arg;
}
export declare type Files_Tree_C = new (args: Files_Tree_Args) => Files_Tree_I;
export interface Files_Tree_Args {
root_paths: str[];
match: Matchers;
max_depth?: number;
}
export declare type Trunk_Paths = readonly str[];
export declare type Match_Item_Arg = RegExp | Array<RegExp> | str | Array<str>;
export interface Files_Tree_I {
setup_tree: () => Promise<void>;
trunks: () => Array<Trunk_Paths>;
}