dir-analysis-tool
Version:
A comprehensive cross-platform CLI tool for advanced directory analysis with file classification, duplicate detection, large file identification, interactive mode, HTML reports, and multiple export formats. Perfect for disk cleanup, storage audits, and pr
21 lines • 585 B
TypeScript
export interface TreeNode {
name: string;
path: string;
size?: number;
isDirectory: boolean;
children?: TreeNode[];
}
export declare class TreeViewGenerator {
static generateTreeView(files: Array<{
path: string;
size: number;
}>, rootPath: string): string;
private static buildTree;
private static sortTreeNodes;
private static renderTree;
static generateCompactTreeView(files: Array<{
path: string;
size: number;
}>, rootPath: string, maxFiles?: number): string;
}
//# sourceMappingURL=tree-view.d.ts.map