MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / downloads

Function downloads

packages/core/file-system/index.ts:945–958  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

_checkPlatformFunction · 0.85
getExistingFolderInfoFunction · 0.85

Tested by

no test coverage detected