This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.FileHelpers.
Summary
Finds files with the given text in files matching the given globber pattern.
Syntax
public static FilePath[] FindTextInFiles(this ICakeContext context, string globberPattern, string substring)
Attributes
| Type |
Description |
| CakeMethodAliasAttribute |
|
Parameters
| Name |
Type |
Description |
| context |
ICakeContext |
The context. |
| globberPattern |
string |
The globber pattern to match files to find text in. |
| substring |
string |
The substring to find. |
Return Value
| Type |
Description |
| FilePath[] |
The files which match the regular expression and globber pattern. |