MCPcopy Create free account
hub / github.com/OpenAssetIO/OpenAssetIO / isFileUrl

Method isFileUrl

src/openassetio-core/src/utils/path/common.cpp:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31// GenericUrl
32
33bool GenericUrl::isFileUrl(const std::string_view& url) const {
34 return fileUrlRegex.match(url).has_value();
35}
36
37void GenericUrl::setUrlPath(const Str& urlPath, ada::url& url) {
38 if (!url.set_pathname(urlPath)) {

Callers 1

pathFromUrlMethod · 0.80

Calls 1

matchMethod · 0.80

Tested by

no test coverage detected