Module: Gitlab::Ci::Ansi2html
- Defined in:
- lib/gitlab/ci/ansi2html.rb
Defined Under Namespace
Constant Summary collapse
- TIMESTAMP_HEADER_REGEX =
Timestamp line prefix format: <timestamp> <stream number><stream type><full line type>
-
timestamp: UTC RFC3339 timestamp
-
stream number: 1 byte (2 hex chars) stream number
-
stream type: E/O (Err or Out)
-
full line type: ‘+` if line is continuation of previous line, ` ` otherwise
-
Gitlab::Ci::Trace::Stream::TIMESTAMP_HEADER_REGEX
- TIMESTAMP_HEADER_DATETIME_LENGTH =
Gitlab::Ci::Trace::Stream::TIMESTAMP_HEADER_DATETIME_LENGTH
- TIMESTAMP_HEADER_LENGTH =
Gitlab::Ci::Trace::Stream::TIMESTAMP_HEADER_LENGTH
- COLOR =
keys represent the trailing digit in color changing command (30-37, 40-47, 90-97. 100-107)
{ 0 => 'black', # not that this is gray in the intense color table 1 => 'red', 2 => 'green', 3 => 'yellow', 4 => 'blue', 5 => 'magenta', 6 => 'cyan', 7 => 'white' # not that this is gray in the dark (aka default) color table }.freeze
- STYLE_SWITCHES =
{ bold: 0x01, italic: 0x02, underline: 0x04, conceal: 0x08, cross: 0x10 }.freeze