BloombergLP::bdls::FilesystemUtil::exists

Return true if a file or directory currently exists at path.

Synopsis

Declared in <bdls_filesystemutil.h>

template<class STRING_TYPE>
static
bool
exists(STRING_TYPE const& path);

Description

Same as the overload taking const char *.

Return Value

true if a file or directory exists at path, and false otherwise

Parameters

NameDescription
pathfilesystem path to test