Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chen3feng/toft
/ ParseFromUrl
Method
ParseFromUrl
net/uri/query_params.cpp:43–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
}
42
43
bool QueryParams::ParseFromUrl(const std::string& url)
44
{
45
URI uri;
46
if (!uri.Parse(url) || !uri.HasQuery())
47
return false;
48
return Parse(uri.Query());
49
}
50
51
void QueryParams::AppendToString(std::string* target) const
52
{
Callers
1
TEST
Function · 0.80
Calls
3
HasQuery
Method · 0.80
Query
Method · 0.80
Parse
Method · 0.45
Tested by
1
TEST
Function · 0.64