omni::ext::parseExtUrl

Defined in omni/ext/ExtensionsUtils.h

inline ExtPathUrl omni::ext::parseExtUrl(const std::string &url)

Simple helper function to parse a given URL into a scheme and a path.

Note

If a path is given such as “f:/path/to/ext”, this will return as ExtPathUrl::scheme empty and everything in ExtPathUrl::path.

Parameters

url – The extension URL to parse

Returns

a ExtPathUrl containing the separate parts