Sha256: 1e6e106572c75176377ae07687141038bd573f9e3bf7cd8fc06ed1c53acff0d7

Contents?: true

Size: 586 Bytes

Versions: 23

Compression:

Stored size: 586 Bytes

Contents

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const fs = require("fs");
exports.FILE_SYSTEM_ADAPTER = {
    lstat: fs.lstat,
    stat: fs.stat,
    lstatSync: fs.lstatSync,
    statSync: fs.statSync,
    readdir: fs.readdir,
    readdirSync: fs.readdirSync
};
function createFileSystemAdapter(fsMethods) {
    if (fsMethods === undefined) {
        return exports.FILE_SYSTEM_ADAPTER;
    }
    return Object.assign(Object.assign({}, exports.FILE_SYSTEM_ADAPTER), fsMethods);
}
exports.createFileSystemAdapter = createFileSystemAdapter;

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
trusty-cms-4.1.7 node_modules/@nodelib/fs.scandir/out/adapters/fs.js
trusty-cms-4.1.6 node_modules/@nodelib/fs.scandir/out/adapters/fs.js
trusty-cms-4.1.5 node_modules/@nodelib/fs.scandir/out/adapters/fs.js