fs-tail 0.1.2

tail a file and block when end of file is reached. When new contents are found in the file, the loop will continue
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# fs-tail

tail a file and block until more lines are added.

## usage


```
let file = std::fs::File::open("/path/to/some/file").unwrap();
let file = TailedFile::new(file);
let locked = file.lock();
for line in locked.lines() {
    if let Ok(line) = line {
        println!("{}", line);
    }
}
```