Sha256: cd77a40c6c111540b344d4941cd246172924cb4e0d622cbfe0d955b7534f3adc

Contents?: true

Size: 751 Bytes

Versions: 92

Compression:

Stored size: 751 Bytes

Contents

# frozen_string_literal: true

# tau mutagen socket list
module MutagenSocketList
  # Backend method for mutagen socket list.
  # @return [String] List of takelage sockets
  def mutagen_socket_list
    log.debug 'List the mutagen takelage sockets'

    return false unless mutagen_check_daemon

    sockets = _mutagen_socket_list

    if sockets.to_s.empty?
      log.debug 'No mutagen takelage sockets found'
      return false
    end

    log.debug "Found mutagen takelage sockets: \n\"\"\"\n#{sockets}\"\"\""
    sockets.to_s
  end

  private

  # Get git branch.
  def _mutagen_socket_list
    cmd_list_socket = format(
      config.active['cmd_mutagen_forward_socket_list'],
      takellabel: @takellabel
    )
    run cmd_list_socket
  end
end

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
takeltau-0.44.14 lib/takeltau/mutagen/socket/list.rb
takeltau-0.44.12 lib/takeltau/mutagen/socket/list.rb
takeltau-0.44.11 lib/takeltau/mutagen/socket/list.rb
takeltau-0.44.8 lib/takeltau/mutagen/socket/list.rb
takeltau-0.44.2 lib/takeltau/mutagen/socket/list.rb
takeltau-0.43.23 lib/takeltau/mutagen/socket/list.rb
takeltau-0.43.21 lib/takeltau/mutagen/socket/list.rb
takeltau-0.43.19 lib/takeltau/mutagen/socket/list.rb
takeltau-0.43.16 lib/takeltau/mutagen/socket/list.rb
takeltau-0.43.15 lib/takeltau/mutagen/socket/list.rb
takeltau-0.43.14 lib/takeltau/mutagen/socket/list.rb
takeltau-0.43.10 lib/takeltau/mutagen/socket/list.rb
takeltau-0.43.6 lib/takeltau/mutagen/socket/list.rb
takeltau-0.43.4 lib/takeltau/mutagen/socket/list.rb
takeltau-0.43.2 lib/takeltau/mutagen/socket/list.rb
takeltau-0.43.1 lib/takeltau/mutagen/socket/list.rb
takeltau-0.42.7 lib/takeltau/mutagen/socket/list.rb
takeltau-0.42.5 lib/takeltau/mutagen/socket/list.rb
takeltau-0.42.4 lib/takeltau/mutagen/socket/list.rb
takeltau-0.42.3 lib/takeltau/mutagen/socket/list.rb