.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / fast-glob / out / adapters / fs.js
1 "use strict";\r
2 Object.defineProperty(exports, "__esModule", { value: true });\r
3 var path = require("path");\r
4 var FileSystem = /** @class */ (function () {\r
5     function FileSystem(options) {\r
6         this.options = options;\r
7     }\r
8     /**\r
9      * Return full path to entry.\r
10      */\r
11     FileSystem.prototype.getFullEntryPath = function (filepath) {\r
12         return path.resolve(this.options.cwd, filepath);\r
13     };\r
14     /**\r
15      * Return an implementation of the Entry interface.\r
16      */\r
17     FileSystem.prototype.makeEntry = function (stat, pattern) {\r
18         stat.path = pattern;\r
19         stat.depth = pattern.split('/').length;\r
20         return stat;\r
21     };\r
22     return FileSystem;\r
23 }());\r
24 exports.default = FileSystem;\r