MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / replaceProhibitedChars

Function replaceProhibitedChars

source/MRMesh/MRStringConvert.cpp:176–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176std::string replaceProhibitedChars( const std::string& line, char replacement /*= '_' */ )
177{
178 auto res = line;
179 for ( auto& c : res )
180 if ( isProhibitedChar( c ) )
181 c = replacement;
182 return res;
183}
184
185std::string commonFilesName( const std::vector<std::filesystem::path> & files )
186{

Callers 2

saveCustomConfigModalFunction · 0.85
composeKeyFunction · 0.85

Calls 1

isProhibitedCharFunction · 0.85

Tested by

no test coverage detected