Summary
Groups a set of functions that convert Windows native filenames to
Cygwin POSIX-style pathnames and vice versa.
- Assembly
- NAnt
.Win32 .dll - Namespace
- NAnt
.Win32 .Functions - Base Types
-
- Object
- FunctionSetBase
graph BT
Type-->Base0["FunctionSetBase"]
click Base0 "/api/NAnt.Core/FunctionSetBase"
Base0-->Base1["Object"]
Type["CygpathFunctions"]
class Type type-node
Syntax
[FunctionSet("cygpath", "Unix/Cygwin")]
public class CygpathFunctions : FunctionSetBase
Remarks
It can be used when a Cygwin program needs to pass a file name to a
native Windows program, or expects to get a file name from a native
Windows program.
Attributes
| Type | Description |
|---|---|
| FunctionSetAttribute | Indicates that class should be treated as a set of functions. |
Constructors
| Name | Summary |
|---|---|
| CygpathFunctions |
Initializes a new instance of the NAnt.Win32.Functions.CygpathFunctions
class with the specified NAnt.Core.Project and properties.
|
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 |
|---|---|---|
| GetDosPath |
string |
Gets the DOS (short) form of the specified path.
|
| GetUnixPath |
string |
Gets the Unix form of the specified path.
|
| GetWindowsPath |
string |
Gets the Windows form of the specified path.
|
