MCPcopy Create free account
hub / github.com/Kitware/CMake / GetCharacters

Method GetCharacters

Source/cmNewLineStyle.cxx:44–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44std::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
57void cmNewLineStyle::SetStyle(Style style)
58{

Callers 3

ConfigureFileMethod · 0.80
HandleGenerateCommandFunction · 0.80
HandleConfigureCommandFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected