Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
33
bool GenericUrl::isFileUrl(const std::string_view& url) const {
34
return fileUrlRegex.match(url).has_value();
35
}
36
37
void GenericUrl::setUrlPath(const Str& urlPath, ada::url& url) {
38
if (!url.set_pathname(urlPath)) {
Callers
1
pathFromUrl
Method · 0.80
Calls
1
match
Method · 0.80
Tested by
no test coverage detected