(
pattern: string,
query: string,
options?: StateSearchOptions
)
| 205 | } |
| 206 | |
| 207 | async searchFiles( |
| 208 | pattern: string, |
| 209 | query: string, |
| 210 | options?: StateSearchOptions |
| 211 | ): Promise<StateFileSearchResult[]> { |
| 212 | const paths = await this.getFilePaths(pattern); |
| 213 | return collectFileSearchResults( |
| 214 | paths, |
| 215 | this.readFile.bind(this), |
| 216 | (content) => searchTextContent(content, query, options) |
| 217 | ); |
| 218 | } |
| 219 | |
| 220 | async replaceInFile( |
| 221 | path: string, |
nothing calls this directly
no test coverage detected