File Helpers

Summary

File helper aliases. A set of aliases for Cake Build to help with simple File operations such as Reading, Writing and Replacing text.

General

FileAppendLines(ICakeContext, FilePath, string[]) Appends all text lines to a file
Addin from Cake.FileHelpers.dll
FileAppendText(ICakeContext, FilePath, string) Appends all text to a file
Addin from Cake.FileHelpers.dll
FileReadLines(ICakeContext, FilePath) Reads all lines from a file
Addin from Cake.FileHelpers.dll
FileReadText(ICakeContext, FilePath) Reads all text from a file
Addin from Cake.FileHelpers.dll
FileTouch(ICakeContext, FilePath) Sets the last write time of a file to the current time
Addin from Cake.FileHelpers.dll
FileWriteLines(ICakeContext, FilePath, string[]) Writes all text lines to a file
Addin from Cake.FileHelpers.dll
FileWriteText(ICakeContext, FilePath, string) Writes all text to a file
Addin from Cake.FileHelpers.dll
FindRegexInFiles(ICakeContext, string, string) Finds files with regular expression pattern in files matching the given globber pattern.
Addin from Cake.FileHelpers.dll
FindRegexInFiles(ICakeContext, string, string, RegexOptions) Finds files with regular expression pattern in files matching the given globber pattern.
Addin from Cake.FileHelpers.dll
FindRegexMatchesGroupsInFile(ICakeContext, FilePath, string, RegexOptions) Finds regex matches in a file and returns all match groups.
Addin from Cake.FileHelpers.dll
FindRegexMatchesInFile(ICakeContext, FilePath, string, RegexOptions) Finds the regex matches in a text file.
Addin from Cake.FileHelpers.dll
FindRegexMatchGroupInFile(ICakeContext, FilePath, string, int, RegexOptions) Finds the first regex match in a file and returns a specific match group.
Addin from Cake.FileHelpers.dll
FindRegexMatchGroupsInFile(ICakeContext, FilePath, string, RegexOptions) Finds the first regex match in a file and returns all match groups.
Addin from Cake.FileHelpers.dll
FindRegexMatchInFile(ICakeContext, FilePath, string, RegexOptions) Finds the first regex match in a textfile.
Addin from Cake.FileHelpers.dll
FindTextInFiles(ICakeContext, string, string) Finds files with the given text in files matching the given globber pattern.
Addin from Cake.FileHelpers.dll
ReplaceRegexInFiles(ICakeContext, string, string, string) Replaces the regex pattern in files matched by the given globber pattern.
Addin from Cake.FileHelpers.dll
ReplaceRegexInFiles(ICakeContext, string, string, string, RegexOptions) Replaces the regex pattern in files matched by the given globber pattern.
Addin from Cake.FileHelpers.dll
ReplaceTextInFiles(ICakeContext, string, string, string) Replaces the text in files matched by the given globber pattern
Addin from Cake.FileHelpers.dll