returns true if the given character is any of prohibited in filenames in any of OSes https://stackoverflow.com/q/1976007/7325599
| 90 | /// returns true if the given character is any of prohibited in filenames in any of OSes |
| 91 | /// https://stackoverflow.com/q/1976007/7325599 |
| 92 | [[nodiscard]] inline bool isProhibitedChar( char c ) |
| 93 | { return c == '?' || c == '*' || c == '/' || c == '\\' || c == '"' || c == '<' || c == '>' || c == ':' || c == '|' || (unsigned)c < 32; } |
| 94 | |
| 95 | /// returns true if line contains at least one character (c) for which isProhibitedChar(c)==true |
| 96 | [[nodiscard]] MRMESH_API bool hasProhibitedChars( const std::string& line ); |
no outgoing calls
no test coverage detected