(path: string)
| 697 | |
| 698 | export class Folder extends FileSystemEntity { |
| 699 | public static fromPath(path: string): Folder { |
| 700 | const onError = function (error) { |
| 701 | throw error; |
| 702 | }; |
| 703 | |
| 704 | const folderInfo = getFileAccess().getFolder(path, onError); |
| 705 | if (!folderInfo) { |
| 706 | return undefined; |
| 707 | } |
| 708 | |
| 709 | return createFolder(folderInfo); |
| 710 | } |
| 711 | |
| 712 | public static exists(path: string): boolean { |
| 713 | return getFileAccess().folderExists(path); |
nothing calls this directly
no test coverage detected