Skip to main content

note_recent_file

Function note_recent_file 

Source
fn note_recent_file(
    files: &mut Vec<RecentFile>,
    path: &str,
    tool: &str,
    ts_ms: u64,
)
Expand description

Record that path was just changed by tool: moved to the front if it was already listed, and the list kept to MAX_RECENT_FILES.