| 31 | * Interface for file system operations |
| 32 | */ |
| 33 | export interface FileSystem { |
| 34 | /** |
| 35 | * Gets all files in a directory |
| 36 | */ |
| 37 | getFiles(dirRoot: string): Generator<string>; |
| 38 | |
| 39 | /** |
| 40 | * Checks if a file should be ignored |
| 41 | */ |
| 42 | isIgnored(filePath: string, root: string): boolean; |
| 43 | |
| 44 | /** |
| 45 | * Loads the mgrepignore file for a directory |
| 46 | */ |
| 47 | loadMgrepignore(dirRoot: string): void; |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Node.js implementation of FileSystem with gitignore support |
no outgoing calls
no test coverage detected