Interface: FsApi
Defined in: main/ipc/registerBrowserHandlers.ts:50
Propertiesβ
promises?β
optional promises?: {
readdir?: (folder: string, options: {
withFileTypes: true;
}) => Promise<DirentLike[]>;
stat?: (path: string) => Promise<StatLike>;
};
Defined in: main/ipc/registerBrowserHandlers.ts:51
readdir?β
optional readdir?: (folder: string, options: {
withFileTypes: true;
}) => Promise<DirentLike[]>;
Parametersβ
folderβ
string
optionsβ
withFileTypesβ
true
Returnsβ
stat?β
optional stat?: (path: string) => Promise<StatLike>;
Parametersβ
pathβ
string