Summary
Provides modified version for Copy and Move from the File class that
allow for filter chain processing.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Util - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["FileUtils"]
class Type type-node
Syntax
public static class FileUtils
Methods
Name | Value | Summary |
---|---|---|
CombinePaths |
string |
Combines two path strings.
static
|
CopyDirectory |
void |
Copies the contents of a directory to another directory recursively.
static
|
CopyFile |
void |
Copies a file filtering its content through the filter chain.
static
|
GetFullPath |
string |
Returns Absolute Path (Fix for 260 Char Limit of Path.GetFullPath(...))
static
|
GetHomeDirectory |
string |
Returns the home directory of the current user.
static
|
GetTempDirectory |
DirectoryInfo |
Returns a uniquely named empty temporary directory on disk.
static
|
MoveFile |
void |
Moves a file filtering its content through the filter chain.
static
|
ReadFile |
string |
Reads a file filtering its content through the filter chain.
static
|
ResolveFile |
string |
Scans a list of directories for the specified filename.
static
|