M src/git/blame.rs => src/git/blame.rs +1 -1
@@ 1,7 1,7 @@
use crate::config::CONFIG;
use crate::git::commits::{get_commits, Commits};
use serde_derive::Serialize;
-use std::ops::Range;
+
use std::path::Path;
pub fn blame<'a>(repo: String, branch: String, path: String) -> Option<Vec<Blame>> {
M src/git/file.rs => src/git/file.rs +1 -1
@@ 2,7 2,7 @@ use crate::config::CONFIG;
use git2::ObjectType;
use humansize::{format_size, DECIMAL};
use serde_derive::Serialize;
-use std::path::Component;
+
use std::path::PathBuf;
pub fn files(repo: String, branch: String, path: String) -> Option<Vec<File>> {
M src/repository/blame.rs => src/repository/blame.rs +1 -1
@@ 2,7 2,7 @@ use crate::config::CONFIG;
use crate::git::blame::blame;
use crate::git::commits::get_commits;
use crate::git::file::file;
-use crate::git::file::files;
+
use crate::utils::repo_config::repo_config;
use crate::PathBufWithDotfiles;
use rocket_dyn_templates::{context, Template};