Skip to main content

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​

Promise<DirentLike[]>

stat?​

optional stat?: (path: string) => Promise<StatLike>;
Parameters​
path​

string

Returns​

Promise<StatLike>