|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 2 weeks ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
714 bytes
|
| Line | |
|---|
| 1 | /// <reference types="node" />
|
|---|
| 2 | import * as fs from 'fs';
|
|---|
| 3 | import * as fsStat from '@nodelib/fs.stat';
|
|---|
| 4 | import Settings from '../settings';
|
|---|
| 5 | import { Entry, ErrnoException, Pattern, ReaderOptions } from '../types';
|
|---|
| 6 | export default abstract class Reader<T> {
|
|---|
| 7 | protected readonly _settings: Settings;
|
|---|
| 8 | protected readonly _fsStatSettings: fsStat.Settings;
|
|---|
| 9 | constructor(_settings: Settings);
|
|---|
| 10 | abstract dynamic(root: string, options: ReaderOptions): T;
|
|---|
| 11 | abstract static(patterns: Pattern[], options: ReaderOptions): T;
|
|---|
| 12 | protected _getFullEntryPath(filepath: string): string;
|
|---|
| 13 | protected _makeEntry(stats: fs.Stats, pattern: Pattern): Entry;
|
|---|
| 14 | protected _isFatalError(error: ErrnoException): boolean;
|
|---|
| 15 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.