Function fetch_dir

Source
pub fn fetch_dir(
    user: &str,
    repo: &str,
    paths: &[&str],
    recurse: bool,
    token: &str,
) -> Result<Files, String>
Expand description

If you want a paths entry to be the root, use "" - might not work properly if you use “/”

tokens can be generated in your Github settings