()
| 943 | |
| 944 | let _downloads: Folder; |
| 945 | export function downloads(): Folder { |
| 946 | _checkPlatform('downloads'); |
| 947 | if (!_downloads) { |
| 948 | const existingFolderInfo = getExistingFolderInfo(NSSearchPathDirectory.DownloadsDirectory); |
| 949 | |
| 950 | if (existingFolderInfo) { |
| 951 | _downloads = existingFolderInfo.folder; |
| 952 | _downloads._path = existingFolderInfo.path; |
| 953 | _downloads._isKnown = true; |
| 954 | } |
| 955 | } |
| 956 | |
| 957 | return _downloads; |
| 958 | } |
| 959 | |
| 960 | let _movies: Folder; |
| 961 | export function movies(): Folder { |
nothing calls this directly
no test coverage detected