retrieveDirectory

Extracts the directory from path.

version(COMPILE)
extern (D) nothrow
static if(1)
const(char)[]
retrieveDirectory
(
const(char)* path
)

Parameters

path const(char)*

Full path containing the filename and the directory

Return Value

Type: const(char)[]

The directory name

Meta