UNPKG

codn_ts

Version:

智能代码分析工具 - 支持语义搜索、调用链分析和代码结构可视化,对大模型/AI agent 友好

17 lines (16 loc) 554 B
export interface DirectoryItem { name: string; type: "file" | "directory"; path: string; size?: number; modified?: string; isHidden: boolean; } export interface ListDirectoryOptions { showHidden?: boolean; showDetails?: boolean; maxDepth?: number; ignorePatterns?: string[]; } export declare function listDirectory(dirPath: string, options?: ListDirectoryOptions): Promise<DirectoryItem[]>; export declare function listDirectoryRecursive(dirPath: string, options?: ListDirectoryOptions): Promise<DirectoryItem[]>;