Class: GDK::Diagnostic::Gitaly

Inherits:
Base
  • Object
show all
Defined in:
lib/gdk/diagnostic/gitaly.rb

Constant Summary collapse

TITLE =
'Gitaly'
MAX_GITALY_INTERNAL_SOCKET_PATH_LENGTH =
100

Instance Method Summary collapse

Methods inherited from Base

#message, #title

Instance Method Details

#detailObject



13
14
15
16
17
18
19
20
# File 'lib/gdk/diagnostic/gitaly.rb', line 13

def detail
  return if success?

  output = []
  output << dir_length_too_long_message unless dir_length_ok?

  output.join("\n#{diagnostic_detail_break}\n")
end

#success?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/gdk/diagnostic/gitaly.rb', line 9

def success?
  dir_length_ok?
end