tree-cli-tool
Version:
A powerful command-line tool to display directory tree structure with various configuration options and output formats
17 lines • 461 B
TypeScript
import { TreeOptions, FileNode, TreeStats } from './types';
export declare class TreeBuilder {
private options;
private stats;
constructor(options: TreeOptions);
buildTree(): Promise<{
tree: FileNode;
stats: TreeStats;
}>;
private resetStats;
private buildNode;
private shouldExclude;
private shouldIncludeFile;
private matchPattern;
getStats(): TreeStats;
}
//# sourceMappingURL=tree-builder.d.ts.map