Method: FileWatch::TailMode::Handlers::Create#update_existing_specifically
- Defined in:
- lib/filewatch/tail_mode/handlers/create.rb
#update_existing_specifically(watched_file, sincedb_value) ⇒ Object
11 12 13 14 |
# File 'lib/filewatch/tail_mode/handlers/create.rb', line 11 def update_existing_specifically(watched_file, sincedb_value) # sincedb_value is the source of truth watched_file.update_bytes_read(sincedb_value.position) end |