You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param path The file path. It must be one that the app can access. See the [wiki](https://github.com/MarkEdit-app/MarkEdit/wiki/Customization#grant-folder-access) for more details.
139
+
* @returns True if the file was successfully deleted.
140
+
*/
141
+
deleteFile(path: string): Promise<boolean>;
142
+
143
+
/**
144
+
* List all files under a directory.
145
+
* @param path The directory path. It must be one that the app can access. See the [wiki](https://github.com/MarkEdit-app/MarkEdit/wiki/Customization#grant-folder-access) for more details.
146
+
* @returns All file names as a string array, or undefined if failed.
* It must be one that the app can access. See the [wiki](https://github.com/MarkEdit-app/MarkEdit/wiki/Customization#grant-folder-access) for more details.
526
+
*/
527
+
path: string;
528
+
529
+
/**
530
+
* If set to true, a directory will be created instead.
531
+
*/
532
+
isDirectory?: boolean;
533
+
534
+
/**
535
+
* If set to true, existing files with the same path will be overwritten.
536
+
*/
537
+
overwrites?: boolean;
538
+
539
+
/**
540
+
* String representation of the file, if applicable.
541
+
*/
542
+
string?: string;
543
+
544
+
/**
545
+
* Base64 representation of the file, if applicable.
0 commit comments