(name: string)
| 748 | } |
| 749 | |
| 750 | public getFile(name: string): File { |
| 751 | const fileAccess = getFileAccess(); |
| 752 | const path = fileAccess.joinPath(this.path, name); |
| 753 | |
| 754 | const onError = function (error) { |
| 755 | throw error; |
| 756 | }; |
| 757 | |
| 758 | const fileInfo = fileAccess.getFile(path, onError); |
| 759 | if (!fileInfo) { |
| 760 | return undefined; |
| 761 | } |
| 762 | |
| 763 | return createFile(fileInfo); |
| 764 | } |
| 765 | |
| 766 | public getFolder(name: string): Folder { |
| 767 | const fileAccess = getFileAccess(); |
nothing calls this directly
no test coverage detected