nodelib-fswalk/out/providers/sync.js
raw| 1 | "use strict"; |
| 2 | Object.defineProperty(exports, "__esModule", { value: true }); |
| 3 | const sync_1 = require("../readers/sync"); |
| 4 | class SyncProvider { |
| 5 | constructor(_root, _settings) { |
| 6 | this._root = _root; |
| 7 | this._settings = _settings; |
| 8 | this._reader = new sync_1.default(this._root, this._settings); |
| 9 | } |
| 10 | read() { |
| 11 | return this._reader.read(); |
| 12 | } |
| 13 | } |
| 14 | exports.default = SyncProvider; |