Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ AddSchemePrefix
Function
AddSchemePrefix
library/cpp/string_utils/url/url.cpp:378–380 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
376
}
377
378
TString AddSchemePrefix(const TString& url) {
379
return AddSchemePrefix(url, TStringBuf(
"http"
));
380
}
381
382
TString AddSchemePrefix(const TString& url, TStringBuf scheme) {
383
if (HasPrefix(url)) {
Callers
1
Y_UNIT_TEST
Function · 0.85
Calls
2
HasPrefix
Function · 0.85
Join
Function · 0.50
Tested by
no test coverage detected