pub fn tailf(file: File, n: usize) -> UnboundedReceiver<TailEvent>
Expand description
Simple, naive implementation of tail -f -n <n> <path>
. Uses polling, so
it’s not the fastest, but simple and working for easy cases.
pub fn tailf(file: File, n: usize) -> UnboundedReceiver<TailEvent>
Simple, naive implementation of tail -f -n <n> <path>
. Uses polling, so
it’s not the fastest, but simple and working for easy cases.