webhook-action/node_modules/@nodelib/fs.walk/src/providers/sync.ts

14 lines
385 B
TypeScript

import SyncReader from '../readers/sync';
import Settings from '../settings';
import { Entry } from '../types';
export default class SyncProvider {
protected readonly _reader: SyncReader = new SyncReader(this._root, this._settings);
constructor(private readonly _root: string, private readonly _settings: Settings) { }
public read(): Entry[] {
return this._reader.read();
}
}