MCPcopy Create free account
hub / github.com/apache/trafficserver / operator=

Method operator=

src/cripts/Urls.cc:47–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47Url::Scheme
48Url::Scheme::operator=(cripts::string_view scheme)
49{
50 CAssert(!_owner->ReadOnly()); // This can not be a read-only URL
51 _ensure_initialized(_owner);
52 TSUrlSchemeSet(_owner->_bufp, _owner->_urlp, scheme.data(), scheme.size());
53 _owner->_modified = true;
54 Reset();
55 _loaded = false;
56
57 return *this;
58}
59
60cripts::string_view
61Url::Host::GetSV()

Callers

nothing calls this directly

Calls 8

TSUrlSchemeSetFunction · 0.85
TSUrlHostSetFunction · 0.85
TSUrlPortSetFunction · 0.85
TSUrlPathSetFunction · 0.85
TSUrlHttpQuerySetFunction · 0.85
ReadOnlyMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected