MCPcopy Create free account
hub / github.com/DFHack/dfhack / has_backslashes

Function has_backslashes

library/include/MiscUtils.h:477–480  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

475}
476
477static inline bool has_backslashes(const std::string_view str)
478{
479 return (str.find('\\') != std::string::npos);
480}
481
482static inline void replace_backslashes_with_forwardslashes(std::string& str)
483{

Callers 2

runCommandMethod · 0.85
enableMethod · 0.85

Calls 1

findMethod · 0.45

Tested by

no test coverage detected