This commit is contained in:
Hubert 2021-07-15 07:52:09 +02:00
parent 8a0b525649
commit 5f89a95587
1 changed files with 4 additions and 0 deletions

View File

@ -169,6 +169,10 @@ async fn git_main(
Ok(tree) => tree,
Err(e) => panic!("failed to get tree: {}", e)
};
for entry in tree.iter() {
println!("{:?}", entry.name());
println!("{:?}", entry.kind());
}
GitMainTemplate { repo, browse : browse, root : path, user_opt : Some(user)}
}
//#[get("/git/{owner}/{repo}.git/{path:.*}")]