some deletions
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / fast-glob / package / out / providers / reader-sync.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/fast-glob/package/out/providers/reader-sync.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/fast-glob/package/out/providers/reader-sync.js
deleted file mode 100644 (file)
index 5b2909b..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-"use strict";\r
-var __extends = (this && this.__extends) || (function () {\r
-    var extendStatics = function (d, b) {\r
-        extendStatics = Object.setPrototypeOf ||\r
-            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r
-            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r
-        return extendStatics(d, b);\r
-    };\r
-    return function (d, b) {\r
-        extendStatics(d, b);\r
-        function __() { this.constructor = d; }\r
-        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r
-    };\r
-})();\r
-Object.defineProperty(exports, "__esModule", { value: true });\r
-var readdir = require("@mrmlnc/readdir-enhanced");\r
-var reader_1 = require("./reader");\r
-var fs_sync_1 = require("../adapters/fs-sync");\r
-var ReaderSync = /** @class */ (function (_super) {\r
-    __extends(ReaderSync, _super);\r
-    function ReaderSync() {\r
-        return _super !== null && _super.apply(this, arguments) || this;\r
-    }\r
-    Object.defineProperty(ReaderSync.prototype, "fsAdapter", {\r
-        /**\r
-         * Returns FileSystem adapter.\r
-         */\r
-        get: function () {\r
-            return new fs_sync_1.default(this.options);\r
-        },\r
-        enumerable: true,\r
-        configurable: true\r
-    });\r
-    /**\r
-     * Use sync API to read entries for Task.\r
-     */\r
-    ReaderSync.prototype.read = function (task) {\r
-        var root = this.getRootDirectory(task);\r
-        var options = this.getReaderOptions(task);\r
-        try {\r
-            var entries = this.api(root, task, options);\r
-            return entries.map(this.transform, this);\r
-        }\r
-        catch (err) {\r
-            if (this.isEnoentCodeError(err)) {\r
-                return [];\r
-            }\r
-            throw err;\r
-        }\r
-    };\r
-    /**\r
-     * Returns founded paths.\r
-     */\r
-    ReaderSync.prototype.api = function (root, task, options) {\r
-        if (task.dynamic) {\r
-            return this.dynamicApi(root, options);\r
-        }\r
-        return this.staticApi(task, options);\r
-    };\r
-    /**\r
-     * Api for dynamic tasks.\r
-     */\r
-    ReaderSync.prototype.dynamicApi = function (root, options) {\r
-        return readdir.readdirSyncStat(root, options);\r
-    };\r
-    /**\r
-     * Api for static tasks.\r
-     */\r
-    ReaderSync.prototype.staticApi = function (task, options) {\r
-        return this.fsAdapter.read(task.patterns, options.filter);\r
-    };\r
-    return ReaderSync;\r
-}(reader_1.default));\r
-exports.default = ReaderSync;\r