Skip to main content

recognizes_table

Function recognizes_table 

Source
pub fn recognizes_table(text: &str) -> bool
Expand description

Whether a text is a table cut from an AltOS export, its header AltOS’s own names with no version,serial,flight before them, naming time, state and state_name, and AltOS’s states its proof: of its first 100 rows, at least one gives a state and a state_name that AltOS’s exports write for one state (crate::altos_telem), and none gives a pair they contradict.