BloombergLP::bdls::FilesystemUtil::exists

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

Synopses

Declared in <bdls_filesystemutil.h>

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

static
bool
exists(char const* path);
» more...

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

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

Return Value

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

Parameters

NameDescription
pathfilesystem path to test