MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / externalDocuments

Function externalDocuments

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

Source from the content-addressed store, hash-verified

854 }
855
856 export function externalDocuments(): Folder {
857 if (!_externalDocuments) {
858 const path = getFileAccess().getExternalDocumentsFolderPath();
859 _externalDocuments = new Folder();
860 _externalDocuments._path = path;
861 _externalDocuments._isKnown = true;
862 }
863
864 return _externalDocuments;
865 }
866
867 export function temp(): Folder {
868 if (!_temp) {

Callers

nothing calls this directly

Calls 2

getFileAccessFunction · 0.85

Tested by

no test coverage detected