MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / applyRemove

Function applyRemove

source/RenderGraph/DotExport.cpp:738–750  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

736 };
737
738 static std::string applyRemove( std::string const & text, Config const & config )
739 {
740 if ( config.toRemove.empty() )
741 return text;
742
743 auto result = text;
744 size_t startPos = 0u;
745
746 while ( ( startPos = result.find( config.toRemove, startPos ) ) != std::string::npos )
747 result.replace( startPos, config.toRemove.length(), "" );
748
749 return result;
750 }
751 }
752
753 DisplayResult displayTransitions( RunnableGraph const & value

Callers 1

displayTransitionsFunction · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected