tail.cr

Tailing library for Crystal - get and/or follow the end of a file/IO

Tail.cr

Build Status ISC

Tailing library for Crystal - get and/or follow the end of a file/IO

Inotify.cr library is used to watch files.

Installation

Add the dependency to your shard.yml:

dependencies:
  exec:
    github: j8r/tail.cr

Documentation

https://j8r.github.io/tail.cr

Examples

require "tail"

Tail::File.open "file", &.follow do |str|
  print str
end

Tail::File.open "file", &.last_lines

License

Copyright (c) 2018-2020 Julien Reichardt - ISC License

Repository

tail.cr

Owner
Statistic
  • 11
  • 2
  • 0
  • 0
  • 1
  • about 6 years ago
  • September 29, 2018
License

ISC License

Links
Synced at

Tue, 27 Jan 2026 22:29:27 GMT

Languages