Sha256: 8865fa4240822e2b5bf30a046c57db5f5d8be06800bc1c7f786a63934a8219d9

Contents?: true

Size: 694 Bytes

Versions: 92

Compression:

Stored size: 694 Bytes

Contents

# frozen_string_literal: true

# tau mutagen socket tidy
module MutagenSocketTidy
  # Backend method for mutagen socket tidy.
  def mutagen_socket_tidy
    log.debug "Remove the mutagen daemon files in container \"#{@hostname}\""

    container_existing = docker_container_check_existing @hostname
    cmd_remove = config.active['cmd_mutagen_forward_socket_remove']
    return false unless container_existing && cmd_remove.empty?

    unless docker_container_command cmd_remove
      log.error "Unable to remove the mutagen daemon files in container \"#{@hostname}\""
      return false
    end

    log.debug "Removed the mutagen daemon files in container \"#{@hostname}\""
    true
  end
end

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
takeltau-0.38.0 lib/takeltau/mutagen/socket/tidy.rb
takeltau-0.37.3 lib/takeltau/mutagen/socket/tidy.rb
takeltau-0.37.1 lib/takeltau/mutagen/socket/tidy.rb
takeltau-0.36.5 lib/takeltau/mutagen/socket/tidy.rb
takeltau-0.36.4 lib/takeltau/mutagen/socket/tidy.rb
takeltau-0.36.3 lib/takeltau/mutagen/socket/tidy.rb
takeltau-0.36.1 lib/takeltau/mutagen/socket/tidy.rb
takeltau-0.35.18 lib/takeltau/mutagen/socket/tidy.rb
takeltau-0.35.15 lib/takeltau/mutagen/socket/tidy.rb
takeltau-0.35.14 lib/takeltau/mutagen/socket/tidy.rb
takeltau-0.35.12 lib/takeltau/mutagen/socket/tidy.rb
takeltau-0.35.11 lib/takeltau/mutagen/socket/tidy.rb