mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
14 lines
385 B
TypeScript
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();
|
||
|
}
|
||
|
}
|