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

Function library

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

Source from the content-addressed store, hash-verified

895
896 let _library: Folder;
897 export function library(): Folder {
898 _checkPlatform('library');
899 if (!_library) {
900 const existingFolderInfo = getExistingFolderInfo(NSSearchPathDirectory.LibraryDirectory);
901
902 if (existingFolderInfo) {
903 _library = existingFolderInfo.folder;
904 _library._path = existingFolderInfo.path;
905 _library._isKnown = true;
906 }
907 }
908
909 return _library;
910 }
911
912 let _developer: Folder;
913 export function developer(): Folder {

Callers

nothing calls this directly

Calls 2

_checkPlatformFunction · 0.85
getExistingFolderInfoFunction · 0.85

Tested by

no test coverage detected