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);

Return whether path names an existing directory.

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

Return Value

true if path is a directory, and false otherwise

Parameters

Name

Description

path

filesystem path to test

followLinksFlag

whether to follow symbolic links

Created with MrDocs