| Crates.io | ju-tcs-tbop-24-lib-dcfk |
| lib.rs | ju-tcs-tbop-24-lib-dcfk |
| version | 1.0.1 |
| created_at | 2024-03-14 12:15:19.278027+00 |
| updated_at | 2024-03-14 16:28:49.034722+00 |
| description | Test library for tbop course at JU |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1173333 |
| size | 4,359 |
Implementation of POSIX head and tail functions.
// Returns n first lines from given file.
pub fn head(path: &Path, n: usize) -> Vec<String>
// Returns n last lines from given file.
pub fn tail(path: &Path, n: usize) -> Vec<String>