parentDir

Returns the parent directory of the given file/directory. If there is no parent directory, it will return an empty string. This function will include the trailing slash only if it is the root directory. Note: This function does not allocate a new string, instead it will return a slice to the given path.

@safe pure nothrow @nogc
inout(char)[]
parentDir
(
inout(char)[] path
)

Meta