Sha256: ee9afe045437894f8e1fccfe82f94fdaea750dded3186838d3e1d3bb20a1b2c5

Contents?: true

Size: 399 Bytes

Versions: 2

Compression:

Stored size: 399 Bytes

Contents

module VagrantWindows
  module Communication
    module CommandFilters

      # Converts a *nix 'chown' command to a PowerShell equivalent
      class Chown

        def filter(command)
          # Not support on Windows, the communicator will skip this command
          ''
        end

        def accept?(command)
          command.start_with?('chown ')
        end

      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-windows-1.7.0.pre.2 lib/vagrant-windows/communication/command_filters/chown.rb
vagrant-windows-1.7.0.pre.1 lib/vagrant-windows/communication/command_filters/chown.rb