()
| 927 | |
| 928 | let _desktop: Folder; |
| 929 | export function desktop(): Folder { |
| 930 | _checkPlatform('desktop'); |
| 931 | if (!_desktop) { |
| 932 | const existingFolderInfo = getExistingFolderInfo(NSSearchPathDirectory.DesktopDirectory); |
| 933 | |
| 934 | if (existingFolderInfo) { |
| 935 | _desktop = existingFolderInfo.folder; |
| 936 | _desktop._path = existingFolderInfo.path; |
| 937 | _desktop._isKnown = true; |
| 938 | } |
| 939 | } |
| 940 | |
| 941 | return _desktop; |
| 942 | } |
| 943 | |
| 944 | let _downloads: Folder; |
| 945 | export function downloads(): Folder { |
nothing calls this directly
no test coverage detected