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.46.9 lib/takeltau/mutagen/socket/list.rb
takeltau-0.46.8 lib/takeltau/mutagen/socket/list.rb
takeltau-0.46.5 lib/takeltau/mutagen/socket/list.rb
takeltau-0.46.1 lib/takeltau/mutagen/socket/list.rb
takeltau-0.46.0 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.27 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.26 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.24 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.23 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.22 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.21 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.19 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.17 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.16 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.14 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.13 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.12 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.11 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.10 lib/takeltau/mutagen/socket/list.rb
takeltau-0.45.9 lib/takeltau/mutagen/socket/list.rb