pub fn tail(path: &Path, n: usize) -> Vec<String>
Expand description

Returns n last lines from given file.

If the file does not contain n lines, then whole content is returned.

§Errors

This function panics if there is any problem when opening or reading from the file.