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
9 * Return full path to entry.
\r
11 FileSystem.prototype.getFullEntryPath = function (filepath) {
\r
12 return path.resolve(this.options.cwd, filepath);
\r
15 * Return an implementation of the Entry interface.
\r
17 FileSystem.prototype.makeEntry = function (stat, pattern) {
\r
18 stat.path = pattern;
\r
19 stat.depth = pattern.split('/').length;
\r
24 exports.default = FileSystem;
\r