Sha256: 0869e5bdc9646f31cedfbfe8b4176bdeea2a2b0120caa2eaa75c7d481a9e27ce

Contents?: true

Size: 282 Bytes

Versions: 4

Compression:

Stored size: 282 Bytes

Contents

# encoding: utf-8

module FileWatch module TailMode module Handlers
  class Delete < Base
    def handle_specifically(watched_file)
      watched_file.listener.deleted
      sincedb_collection.unset_watched_file(watched_file)
      watched_file.file_close
    end
  end
end end end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
logstash-input-file-4.1.3 lib/filewatch/tail_mode/handlers/delete.rb
logstash-input-file-4.1.2 lib/filewatch/tail_mode/handlers/delete.rb
logstash-input-file-4.1.1 lib/filewatch/tail_mode/handlers/delete.rb
logstash-input-file-4.1.0 lib/filewatch/tail_mode/handlers/delete.rb