Sha256: e3b0e28d1b151bbabca4cae3dbf8dd1add9ed2524265bbd8fc827fb21c599fc6

Contents?: true

Size: 619 Bytes

Versions: 42

Compression:

Stored size: 619 Bytes

Contents

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.read = void 0;
function read(path, settings) {
    const lstat = settings.fs.lstatSync(path);
    if (!lstat.isSymbolicLink() || !settings.followSymbolicLink) {
        return lstat;
    }
    try {
        const stat = settings.fs.statSync(path);
        if (settings.markSymbolicLink) {
            stat.isSymbolicLink = () => true;
        }
        return stat;
    }
    catch (error) {
        if (!settings.throwErrorOnBrokenSymbolicLink) {
            return lstat;
        }
        throw error;
    }
}
exports.read = read;

Version data entries

42 entries across 42 versions & 3 rubygems

Version Path
trusty-cms-6.3.1 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.51 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.50 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.49 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.48 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.47 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.46 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.45 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.44 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.43 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.42 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.41 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.40 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.39 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.38 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.32 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.31 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.30 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.29 node_modules/@nodelib/fs.stat/out/providers/sync.js
immosquare-cleaner-0.1.28 node_modules/@nodelib/fs.stat/out/providers/sync.js