MCPcopy Create free account
hub / github.com/andysworkshop/stm32plus / appendPath

Method appendPath

examples/net_ftp_server/MyFtpServerConnection.h:290–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 */
289
290inline std::string MyFtpServerConnection::appendPath(const std::string& prefix,const std::string& path) const {
291
292 std::string newpath(path),newprefix(prefix);
293
294 StdStringUtil::trimRight(newprefix,"/");
295 StdStringUtil::trimLeft(newpath,"/");
296
297 return newprefix+"/"+newpath;
298}
299
300
301/**

Callers

nothing calls this directly

Calls 2

trimRightFunction · 0.85
trimLeftFunction · 0.85

Tested by

no test coverage detected