Sha256: 9e5aa25d62ba9c654454bdc8c694a7a1cf8229cd5dd2dc2f97f3f40025a882c5

Contents?: true

Size: 640 Bytes

Versions: 42

Compression:

Stored size: 640 Bytes

Contents

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createFileSystemAdapter = exports.FILE_SYSTEM_ADAPTER = void 0;
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

42 entries across 42 versions & 3 rubygems

Version Path
immosquare-cleaner-0.1.6 node_modules/@nodelib/fs.scandir/out/adapters/fs.js
decidim-0.26.8 packages/eslint-config/node_modules/@nodelib/fs.scandir/out/adapters/fs.js