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

Function music

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

Source from the content-addressed store, hash-verified

975
976 let _music: Folder;
977 export function music(): Folder {
978 _checkPlatform('music');
979 if (!_music) {
980 const existingFolderInfo = getExistingFolderInfo(NSSearchPathDirectory.MusicDirectory);
981
982 if (existingFolderInfo) {
983 _music = existingFolderInfo.folder;
984 _music._path = existingFolderInfo.path;
985 _music._isKnown = true;
986 }
987 }
988
989 return _music;
990 }
991
992 let _pictures: Folder;
993 export function pictures(): Folder {

Callers

nothing calls this directly

Calls 2

_checkPlatformFunction · 0.85
getExistingFolderInfoFunction · 0.85

Tested by

no test coverage detected