(name: string)
| 764 | } |
| 765 | |
| 766 | public getFolder(name: string): Folder { |
| 767 | const fileAccess = getFileAccess(); |
| 768 | const path = fileAccess.joinPath(this.path, name); |
| 769 | |
| 770 | const onError = function (error) { |
| 771 | throw error; |
| 772 | }; |
| 773 | |
| 774 | const folderInfo = fileAccess.getFolder(path, onError); |
| 775 | if (!folderInfo) { |
| 776 | return undefined; |
| 777 | } |
| 778 | |
| 779 | return createFolder(folderInfo); |
| 780 | } |
| 781 | |
| 782 | public getEntities(): Promise<Array<FileSystemEntity>> { |
| 783 | return new Promise((resolve, reject) => { |
nothing calls this directly
no test coverage detected