mirror of
https://forge.pointfixe.fr/hubert/gitust.git
synced 2026-02-04 10:17:28 +01:00
git init
This commit is contained in:
@@ -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:.*}")]
|
||||
|
||||
Reference in New Issue
Block a user