NAnt SDK Documentation - v0.92

CygpathFunctions.GetUnixPath Method 

Gets the Unix form of the specified path.

[Visual Basic]
<Function(Name:="get-unix-path")>
Public Function GetUnixPath( _
   ByVal path As String _
) As String
[C#]
[Function(Name="get-unix-path")]
public string GetUnixPath(
   string path
);

Parameters

path
The path to convert.

Return Value

The Unix form of the specified path.

Exceptions

Exception Type Condition
Win32Exception cygpath could not be started.
ArgumentException path could not be converted to a Unix form.

See Also

CygpathFunctions Class | NAnt.Win32.Functions Namespace