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

Method parent

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

Source from the content-addressed store, hash-verified

58 _isKnown: boolean;
59
60 get parent(): Folder {
61 const onError = function (error) {
62 throw error;
63 };
64
65 const folderInfo = getFileAccess().getParent(this.path, onError);
66 if (!folderInfo) {
67 return undefined;
68 }
69
70 return createFolder(folderInfo);
71 }
72
73 public remove(): Promise<any> {
74 return new Promise((resolve, reject) => {

Callers

nothing calls this directly

Calls 3

getFileAccessFunction · 0.85
createFolderFunction · 0.85
getParentMethod · 0.65

Tested by

no test coverage detected