Skip to main content

Module tail

Module tail 

Source

Structs§

TailConfig
Configuration for tail

Enums§

FollowMode
Follow mode
TailMode
Mode for tail operation

Functions§

follow_file
Follow a file for new data (basic implementation)
parse_size
Parse a numeric argument with optional suffix, same as head
sendfile_tail_bytes
Use sendfile for zero-copy byte output on Linux (last N bytes)
tail_bytes
Output last N bytes from data
tail_bytes_from
Output from byte N onward (1-indexed)
tail_file
Process a single file/stdin for tail
tail_lines
Output last N lines from data using backward SIMD scanning
tail_lines_from
Output from line N onward (1-indexed)