UNPKG

smc-hub

Version:

CoCalc: Backend webserver component

14 lines (13 loc) 331 B
interface FileInfo { name: string; error?: Error; isdir?: boolean; size?: number; mtime?: number; } export declare function get_listing(dir: string): Promise<FileInfo[]>; export declare function render_directory_listing(data: FileInfo[], info: { project_id: string; path: string; }): string; export {};