Sha256: 89365808a534fdffb6372623f74fae67b1fc1e8c8dc9b266edca8f12a4e70555

Contents?: true

Size: 170 Bytes

Versions: 18

Compression:

Stored size: 170 Bytes

Contents

# encoding: utf-8

module LogStash module Inputs
  class DeleteCompletedFileHandler
    def handle(path)
      Pathname.new(path).unlink rescue nil
    end
  end
end end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
logstash-input-file-4.1.17 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.16 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.15 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.14 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.13 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.12 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.11 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.10 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.9 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.8 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.7 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.6 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.5 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.4 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.3 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.2 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.1 lib/logstash/inputs/delete_completed_file_handler.rb
logstash-input-file-4.1.0 lib/logstash/inputs/delete_completed_file_handler.rb