Function ju_tcs_tbop_24_lib_dcfk::tail
source · 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.