Cake.FileHelpers
File helper aliases.
A set of aliases for Cake Build to help with simple File operations such as Reading, Writing and Replacing text.
Reads all text from a file
The file's text.
The context.
The file to read.
Reads all lines from a file
The file's text lines.
The context.
The file to read.
Writes all text to a file
The context.
The file to write to.
The text to write.
Writes all text lines to a file
The context.
The file to write to.
The text lines to write.
Appends all text to a file
The context.
The file to append text to.
The text to append.
Appends all text lines to a file
The context.
The file to append text to.
The text lines to append.
Sets the last write time of a file to the current time
The context.
The file to touch
Replaces the text in files matched by the given globber pattern
The files that had text replaced in them.
The context.
The globber pattern to match files to replace text in.
The text to find.
The replacement text.
Replaces the regex pattern in files matched by the given globber pattern.
The files that had text replaced in them.
The context.
The globber pattern to match files to replace text in.
The regular expression to find.
The replacement text.
Replaces the regex pattern in files matched by the given globber pattern.
The files that had text replaced in them.
The context.
The globber pattern to match files to replace text in.
The regular expression to find.
The replacement text.
The regular expression options to use.
Finds files with regular expression pattern in files matching the given globber pattern.
The files which match the regular expression and globber pattern.
The context.
The globber pattern to match files to replace text in.
The regular expression to find.
Finds files with regular expression pattern in files matching the given globber pattern.
The files which match the regular expression and globber pattern.
The context.
The globber pattern to match files to replace text in.
The regular expression to find.
The regular expression options to use.
Finds files with the given text in files matching the given globber pattern.
The files which match the regular expression and globber pattern.
The context.
The globber pattern to match files to find text in.
The substring to find.
Finds files with the given text in files matching the given collection of files.
The files which match the regular expession in the files.
The context.
The files to find text in.
The substring to find.
Finds the regex matches in a text file.
The regex matches in file.
Context.
The text file.
The regex pattern to search for.
The regex options.
Finds the first regex match in a textfile.
The first regex match in the file.
The context.
The file.
The regex pattern to search for.
The regex options.
Finds regex matches in a file and returns all match groups.
The matches with their groups.
The context.
The file.
The regex pattern to search for.
The regex options.
Finds the first regex match in a file and returns all match groups.
The match groups.
The context.
The file.
The regex pattern to search for.
The regex options.
Finds the first regex match in a file and returns a specific match group.
The matches with their groups.
The context.
The file.
The regex pattern to search for.
The specific match group.
The regex options.
This namespace contain types representing data used for common file operations,
such as reading, writing and replacing text.