chase 0.1.8

Async + sync file-following for people who care about file rotatons and line numbers.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[cfg(feature = "stream")]
mod stream;
mod channel;

use super::data::*;

use std::path::PathBuf;

pub(crate) type SendData = (String, Line, Pos);

pub(crate) fn thread_namer(path: &PathBuf) -> String {
    format!(
        "chase-thread-{}",
        path.to_str().unwrap_or("undisplayable-path")
    )
}