MCPcopy Create free account
hub / github.com/QuasarApp/CQtDeployer / stripPath

Method stripPath

src/Deploy/src/pathutils.cpp:168–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168QString PathUtils::stripPath(QString path) {
169 path = toFullPath(path);
170
171 if (path.right(1) == '/') {
172 return path.remove(path.size() - 1, 1);
173 }
174
175 return path;
176}
177
178QString PathUtils::fullStripPath(QString path) {
179 path = stripPath(path);

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.80

Tested by

no test coverage detected