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