BloombergLP::bdls::FilesystemUtil::isDirectory

isDirectory overloads

Synopses

Declared in <bdls_filesystemutil.h>

Return true if a directory currently exists at the specified path.

static
bool
isDirectory(
    char const* path,
    bool followLinksFlag = false);
» more...

Return whether path names an existing directory.

template<class STRING_TYPE>
static
bool
isDirectory(
    STRING_TYPE const& path,
    bool followLinksFlag = false);
» more...

Return Value

true if path is a directory, and false otherwise

Parameters

NameDescription
pathfilesystem path to test
followLinksFlagwhether to follow symbolic links