MCPcopy Create free account
hub / github.com/CesiumGS/cesium-native / getPath

Method getPath

CesiumUtility/src/Uri.cpp:141–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141std::string_view Uri::getPath() const {
142 if (!this->isValid()) {
143 return {};
144 }
145
146 // Remove leading '/'
147 return this->_url->get_pathname();
148}
149
150std::string_view Uri::getFileName() const {
151 if (!this->isValid()) {

Callers 7

ensureTrailingSlashMethod · 0.95
handleApiServerMethod · 0.80
handleAuthServerMethod · 0.80
handleApiServerMethod · 0.80
createLoaderMethod · 0.80
convertFileUriToFilenameFunction · 0.80

Calls 2

isValidMethod · 0.95
UriClass · 0.85

Tested by 3

handleApiServerMethod · 0.64
handleAuthServerMethod · 0.64
handleApiServerMethod · 0.64