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
File helper aliases.
A set of aliases for Cake Build to help with simple File operations such as Reading, Writing and Replacing text.
- Assembly
- Cake
.FileHelpers .dll - Namespace
- Cake
.FileHelpers - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["FileHelperAliases"]
class Type type-node
Syntax
public static class FileHelperAliases
Attributes
Type | Description |
---|---|
Cake |
Methods
Name | Value | Summary |
---|---|---|
FileAppendLines |
void |
Appends all text lines to a file
static
|
FileAppendLines |
void |
Appends all text lines to a file
static
|
FileAppendText |
void |
Appends all text to a file
static
|
FileAppendText |
void |
Appends all text to a file
static
|
FileReadLines |
string[] |
Reads all lines from a file
static
|
FileReadLines |
string[] |
Reads all lines from a file
static
|
FileReadText |
string |
Reads all text from a file
static
|
FileReadText |
string |
Reads all text from a file
static
|
FileTouch |
void |
Sets the last write time of a file to the current time
static
|
FileWriteLines |
void |
Writes all text lines to a file
static
|
FileWriteLines |
void |
Writes all text lines to a file
static
|
FileWriteText |
void |
Writes all text to a file
static
|
FileWriteText |
void |
Writes all text to a file
static
|
FindRegexInFiles |
FilePath[] |
Finds files with regular expression pattern in files matching the given globber pattern.
static
|
FindRegexInFiles |
FilePath[] |
Finds files with regular expression pattern in files matching the given globber pattern.
static
|
FindRegexInFiles |
FilePath[] |
Finds files with regular expression pattern in files matching the given globber pattern.
static
|
FindRegexInFiles |
FilePath[] |
Finds files with regular expression pattern in files matching the given globber pattern.
static
|
Find |
List |
Finds regex matches in a file and returns all match groups.
static
|
Find |
List |
Finds regex matches in a file and returns all match groups.
static
|
Find |
List |
Finds the regex matches in a text file.
static
|
Find |
List |
Finds the regex matches in a text file.
static
|
Find |
Group |
Finds the first regex match in a file and returns a specific match group.
static
|
Find |
Group |
Finds the first regex match in a file and returns a specific match group.
static
|
Find |
List |
Finds the first regex match in a file and returns all match groups.
static
|
Find |
List |
Finds the first regex match in a file and returns all match groups.
static
|
FindRegexMatchInFile |
string |
Finds the first regex match in a textfile.
static
|
FindRegexMatchInFile |
string |
Finds the first regex match in a textfile.
static
|
FindTextInFiles |
FilePath[] |
Finds files with the given text in files matching the given collection of files.
static
|
FindTextInFiles |
FilePath[] |
Finds files with the given text in files matching the given collection of files.
static
|
FindTextInFiles |
FilePath[] |
Finds files with the given text in files matching the given globber pattern.
static
|
FindTextInFiles |
FilePath[] |
Finds files with the given text in files matching the given globber pattern.
static
|
ReplaceRegexInFiles |
FilePath[] |
Replaces the regex pattern in files matched by the given globber pattern.
static
|
ReplaceRegexInFiles |
FilePath[] |
Replaces the regex pattern in files matched by the given globber pattern.
static
|
ReplaceRegexInFiles |
FilePath[] |
Replaces the regex pattern in files matched by the given globber pattern.
static
|
ReplaceRegexInFiles |
FilePath[] |
Replaces the regex pattern in files matched by the given globber pattern.
static
|
ReplaceTextInFiles |
FilePath[] |
Replaces the text in files matched by the given globber pattern
static
|
ReplaceTextInFiles |
FilePath[] |
Replaces the text in files matched by the given globber pattern
static
|
Extension Methods
Name | Value | Summary |
---|---|---|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|