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

Method removingLastComponent

valdi_core/src/valdi_core/cpp/Utils/PathUtils.cpp:170–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170Path Path::removingLastComponent() const {
171 auto copy = *this;
172 copy.removeLastComponent();
173 return copy;
174}
175
176Path& Path::removeFirstComponent() {
177 if (!_components.empty()) {

Callers 4

makeDirectoryMethod · 0.45
storeMethod · 0.45
decompressMethod · 0.45
loadModuleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected