Skip to main content

entries

Function entries 

Source
pub fn entries(
    dir: &Path,
    prefix: &str,
    executable: &dyn Fn(&Path) -> bool,
) -> Result<Vec<Entry>, String>
Expand description

Every file under dir, named from prefix ("" for the archive’s root, "game-1.0-linux/" for a folder), sorted by name; executable says which are programs.