()
| 959 | |
| 960 | let _movies: Folder; |
| 961 | export function movies(): Folder { |
| 962 | _checkPlatform('movies'); |
| 963 | if (!_movies) { |
| 964 | const existingFolderInfo = getExistingFolderInfo(NSSearchPathDirectory.MoviesDirectory); |
| 965 | |
| 966 | if (existingFolderInfo) { |
| 967 | _movies = existingFolderInfo.folder; |
| 968 | _movies._path = existingFolderInfo.path; |
| 969 | _movies._isKnown = true; |
| 970 | } |
| 971 | } |
| 972 | |
| 973 | return _movies; |
| 974 | } |
| 975 | |
| 976 | let _music: Folder; |
| 977 | export function music(): Folder { |
nothing calls this directly
no test coverage detected