MCPcopy Create free account
hub / github.com/Tripwire/tripwire-open-source / util_RemoveTrailingSeps

Function util_RemoveTrailingSeps

src/core/unixfsservices.cpp:1207–1212  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////////// Function name : util_RemoveTrailingSeps Description : removes all trailing separators Return type : void Argument : TSTRING& str ////////////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

1205// Argument : TSTRING& str
1206/////////////////////////////////////////////////////////////////////////////////
1207void util_RemoveTrailingSeps(TSTRING& str)
1208{
1209 while (util_TrailingSep(str, false))
1210 {
1211 }
1212}
1213
1214template<typename T> static inline void util_ZeroMemory(T& obj)
1215{

Callers 1

Calls 1

util_TrailingSepFunction · 0.85

Tested by

no test coverage detected