Skip to main content

parse_session_header_line

Function parse_session_header_line 

Source
pub fn parse_session_header_line(line: &str) -> Option<SessionHeader>
Expand description

Parse a single line as a SessionHeader. Pi-compatible: validates required fields (id, timestamp, cwd) are non-empty and version is present and matches CURRENT_SESSION_VERSION.