debugging stuff

This commit is contained in:
Triston Armstrong 2024-12-10 09:43:13 -05:00
parent 6117b40357
commit fe09e05eda
Signed by: tristonarmstrong
GPG Key ID: A23B48AE45EB6EFE
2 changed files with 7 additions and 9 deletions

View File

@ -8,6 +8,7 @@ pub struct GitGrabber {
impl GitGrabber {
pub fn new() -> Self {
println!("{:?}", current_dir().unwrap());
GitGrabber {
repo: None,
dir: current_dir().unwrap(),

View File

@ -13,15 +13,12 @@ fn main() {
let mut gg = GitGrabber::new();
gg.get_repo();
gg.repo.unwrap().revwalk().unwrap().for_each(|x| {
if x.is_ok() {
println!("{:?}", x.unwrap())
} else {
println!("No rev")
}
});
gg.repo
.unwrap()
.reflog("head")
.unwrap()
.iter()
.for_each(|x| println!("{:?}", x.message()));
return ();
// let res_text = transporter.make_request(a).unwrap().text().unwrap();