FileName.refersToParentDir

Determine if path has a reference to parent directory.

struct FileName
nothrow extern (D) static pure @nogc
bool
refersToParentDir
(
const(char)* name
)

Parameters

name const(char)*

path

Return Value

Type: bool

true if path contains '..' reference to parent directory

Meta