MCPcopy Create free account
hub / github.com/Snapchat/Valdi / URL

Class URL

valdi_core/src/valdi_core/cpp/Utils/URL.hpp:14–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace Valdi {
13
14class URL {
15public:
16 explicit URL(const StringBox& url);
17 URL(StringBox&& scheme, StringBox&& path);
18 ~URL();
19
20 const StringBox& getScheme() const;
21 const StringBox& getUrl() const;
22 const StringBox& getPath() const;
23
24 bool operator==(const URL& other) const;
25 bool operator!=(const URL& other) const;
26
27 URL withLastPathComponentRemoved() const;
28
29private:
30 StringBox _scheme;
31 StringBox _url;
32 StringBox _path;
33};
34} // namespace Valdi

Callers 4

registerAssetFunction · 0.85
TEST_PFunction · 0.85
fromMethod · 0.85

Calls

no outgoing calls

Tested by 2

registerAssetFunction · 0.68
TEST_PFunction · 0.68