omni::connect::core::doesUriExist
Defined in omni/connect/core/Core.h
-
bool omni::connect::core::doesUriExist(const std::string &uri)
Determine if the URI exists and is accessible via the Omniverse Client Library.
Note this function respects user level access. If the connected user does not have read permissions for the URI (via
OmniClientAccessFlags
), then it will be reported as not existing.Note, the URI should be absolute for clarity. The Omniverse Client Library has a per-thread, “base URL” concept to support relative URIs.
Note that an empty string uri will return true, representing the current working directory.
- Returns
A bool indicating if the URI exists.