Skip to main content

entry_at_line

Function entry_at_line 

Source
pub fn entry_at_line(
    entries: &[FileTreeEntry],
    line: u32,
) -> Option<&FileTreeEntry>
Expand description

Look up the entry at line in an entry list. The App reads FileTreeEntries from buffer-locals and calls this with app.cursor.line for <CR> dispatch.