mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-30 01:17:37 +03:00
refactor: change parameter type from PathBuf
to Path
in virtual_hunks_by_filepath
function
This commit is contained in:
parent
331302ec9c
commit
2246bb4805
@ -1440,7 +1440,7 @@ fn diff_hash(diff: &str) -> String {
|
||||
}
|
||||
|
||||
pub fn virtual_hunks_by_filepath(
|
||||
project_path: &path::PathBuf,
|
||||
project_path: &path::Path,
|
||||
diff: &HashMap<path::PathBuf, Vec<diff::Hunk>>,
|
||||
) -> HashMap<path::PathBuf, Vec<VirtualBranchHunk>> {
|
||||
let mut mtimes: HashMap<path::PathBuf, u128> = HashMap::new();
|
||||
|
Loading…
Reference in New Issue
Block a user