Return true if a regular file currently exists at path.

Synopses

Declared in <bdls_filesystemutil.h>

Return true if a regular file currently exists at path.

static
bool
isRegularFile(
    char const* path,
    bool followLinksFlag = false);

Return true if a regular file currently exists at path.

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

Return Value

true if path is a regular file, and false otherwise

Parameters

Name

Description

path

filesystem path to test

followLinksFlag

whether to follow symbolic links

Created with MrDocs