diff --git a/src/commit.rs b/src/commit.rs index bf677feeafd85aa6bd8d3b0971cfc6a2c5c2f820..7e3c6651f5a5544420b05655b27305f1ea3c6b36 100644 --- a/src/commit.rs +++ b/src/commit.rs @@ -1,6 +1,8 @@ use crate::init; -use std::{process::{exit, Command}, path::PathBuf}; - +use std::{ + path::PathBuf, + process::{exit, Command}, +}; /// Check if .borg repository and results folder exists pub fn check_path() -> (PathBuf, PathBuf) { @@ -12,7 +14,6 @@ pub fn check_path() -> (PathBuf, PathBuf) { (borg_folder, results_folder) } - /// Get the current commit name of a git repository /// /// # Return: