| 42 | } |
| 43 | |
| 44 | std::string cmNewLineStyle::GetCharacters() const |
| 45 | { |
| 46 | switch (this->NewLineStyle) { |
| 47 | case Invalid: |
| 48 | return ""; |
| 49 | case LF: |
| 50 | return "\n"; |
| 51 | case CRLF: |
| 52 | return "\r\n"; |
| 53 | } |
| 54 | return ""; |
| 55 | } |
| 56 | |
| 57 | void cmNewLineStyle::SetStyle(Style style) |
| 58 | { |
no outgoing calls
no test coverage detected