[#BloombergLP-bdls-FilesystemUtil-exists-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FilesystemUtil.adoc[FilesystemUtil]::exists
:relfileprefix: ../../../
:mrdocs:

Return `true` if there currently exists a file or directory at the specified `path`, and `false` otherwise&period; If `path` is a symlink, the result of this function is platform dependent&period; On POSIX&sol;Unix platforms this method dereferences symlinks, while on Windows it does not&period; The parameterized `STRING&lowbar;TYPE` must be one of `bsl&colon;&colon;string`, `std&colon;&colon;string`, `std&colon;&colon;pmr&colon;&colon;string` (if supported), `bsl&colon;&colon;string&lowbar;view`, or `bslstl&colon;&colon;StringRef`&period;

== Synopsis

Declared in `&lt;bdls&lowbar;filesystemutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
exists(char const* path);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
