Interface IFileSystemAdapter

An interface that defines FSPersister required methods on the node fs library

interface IFileSystemAdapter {
    constants: {
        W_OK: any;
    };
    accessSync(path, mode): void;
    existsSync(path): boolean;
    mkdirSync(path): void;
    readFileSync(path, options?): Buffer;
    writeFileSync(path, data): void;
}

Properties

constants: {
    W_OK: any;
}

Type declaration

  • W_OK: any

Methods

Generated using TypeDoc