Skip to main content

parse_timestamp_line

Function parse_timestamp_line 

Source
pub fn parse_timestamp_line(line: &str) -> Option<i64>
Expand description

If line is a bash timestamp line (# immediately followed by ≥1 digits and nothing else), return the epoch. Bash writes only the raw integer.