| 30 | } |
| 31 | |
| 32 | export class Directory implements vscode.FileStat { |
| 33 | type: vscode.FileType; |
| 34 | ctime: number; |
| 35 | mtime: number; |
| 36 | size: number; |
| 37 | |
| 38 | name: string; |
| 39 | entries: Map<string, File | Directory>; |
| 40 | |
| 41 | constructor(name: string) { |
| 42 | this.type = vscode.FileType.Directory; |
| 43 | this.ctime = Date.now(); |
| 44 | this.mtime = Date.now(); |
| 45 | this.size = 0; |
| 46 | this.name = name; |
| 47 | this.entries = new Map(); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | export type Entry = File | Directory; |
| 52 |
nothing calls this directly
no outgoing calls
no test coverage detected