Summary
Groups a set of functions for dealing with directories.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Functions - Base Types
-
- Object
- FunctionSetBase
graph BT
Type-->Base0["FunctionSetBase"]
click Base0 "/api/NAnt.Core/FunctionSetBase"
Base0-->Base1["Object"]
Type["DirectoryFunctions"]
class Type type-node
Syntax
[FunctionSet("directory", "Directory")]
public class DirectoryFunctions : FunctionSetBase
Attributes
Type | Description |
---|---|
FunctionSetAttribute | Indicates that class should be treated as a set of functions. |
Constructors
Name | Summary |
---|---|
DirectoryFunctions |
Initializes a new instance of the NAnt.Core.Functions.DirectoryFunctions class.
|
Properties
Name | Value | Summary |
---|---|---|
Project | Project |
Gets or sets the
NAnt.Core.FunctionSetBase.Project that this functionset will
reference.
Inherited from FunctionSetBase
|
Methods
Name | Value | Summary |
---|---|---|
Exists |
bool |
Determines whether the given path refers to an existing directory
on disk.
|
GetCreationTime |
DateTime |
Returns the creation date and time of the specified directory.
|
GetCurrentDirectory |
string |
Gets the current working directory.
static
|
GetDirectoryRoot |
string |
Returns the volume information, root information, or both for the
specified path.
|
GetLastAccessTime |
DateTime |
Returns the date and time the specified directory was last accessed.
|
GetLastWriteTime |
DateTime |
Returns the date and time the specified directory was last written to.
|
GetName |
string |
Retrieves the directory name of the specified path.
|
GetParentDirectory |
string |
Retrieves the parent directory of the specified path.
|