Skip to main content

complete_dirs

Function complete_dirs 

Source
pub fn complete_dirs(entries: &mut Vec<Entry>, now: u32)
Expand description

Add the directories the model implied but did not list (a/b/c.txt implies a and a/b), and keep one entry per path (the first). Drop duplicate paths and add the directories the remaining paths imply.