From e7d8b6782da14b2d4e5eee6be3fc0713a26054c3 Mon Sep 17 00:00:00 2001 From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr> Date: Wed, 11 May 2022 11:00:23 +0200 Subject: [PATCH] src/commit.rs: cosmetic changes on import --- src/commit.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/commit.rs b/src/commit.rs index bf677fe..7e3c665 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: -- GitLab