path::get-directory-name

Returns the directory information for the specified path string.
string path::get-directory-name(path)

Parameters

Name Type Description
path string The path of a file or directory.

Return Value

A string containing directory information for path, or an empty string if path denotes a root directory, or does not contain directory information.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions