.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / fast-glob / out / adapters / fs.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/fast-glob/out/adapters/fs.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/fast-glob/out/adapters/fs.js
new file mode 100644 (file)
index 0000000..76ecd26
--- /dev/null
@@ -0,0 +1,24 @@
+"use strict";\r
+Object.defineProperty(exports, "__esModule", { value: true });\r
+var path = require("path");\r
+var FileSystem = /** @class */ (function () {\r
+    function FileSystem(options) {\r
+        this.options = options;\r
+    }\r
+    /**\r
+     * Return full path to entry.\r
+     */\r
+    FileSystem.prototype.getFullEntryPath = function (filepath) {\r
+        return path.resolve(this.options.cwd, filepath);\r
+    };\r
+    /**\r
+     * Return an implementation of the Entry interface.\r
+     */\r
+    FileSystem.prototype.makeEntry = function (stat, pattern) {\r
+        stat.path = pattern;\r
+        stat.depth = pattern.split('/').length;\r
+        return stat;\r
+    };\r
+    return FileSystem;\r
+}());\r
+exports.default = FileSystem;\r