MCPcopy
hub / github.com/kimlimjustin/xplorer / exists

Method exists

src/Api/files.ts:68–70  ·  view source on GitHub ↗

* Return true if file exist * @returns {boolean}

()

Source from the content-addressed store, hash-verified

66 * @returns {boolean}
67 */
68 async exists(): Promise<boolean> {
69 return await invoke('file_exist', { filePath: this.fileName });
70 }
71 /**
72 * Create file if it doesn't exist
73 * @returns {Promise<void>}

Callers 15

RecentFunction · 0.95
FavoritesFunction · 0.95
NewFileFunction · 0.95
PreviewFunction · 0.95
getFavoritesElementFunction · 0.45
OpenDirFunction · 0.45
imageThumbnailFunction · 0.45
NewFolderFunction · 0.45
KeyUpShortcutsHandlerFunction · 0.45
UndoFunction · 0.45
cpyFunction · 0.45
PasteFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected