diff options
Diffstat (limited to 'crates/vcs_data')
| -rw-r--r-- | crates/vcs_data/src/data/local/local_files.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/vcs_data/src/data/local/local_files.rs b/crates/vcs_data/src/data/local/local_files.rs index 1599e34..8444f97 100644 --- a/crates/vcs_data/src/data/local/local_files.rs +++ b/crates/vcs_data/src/data/local/local_files.rs @@ -25,7 +25,10 @@ impl RelativeFiles { } /// Read the relative paths within the project from the input file list -pub async fn get_relative_paths(local_path: PathBuf, paths: Vec<PathBuf>) -> Option<RelativeFiles> { +pub async fn get_relative_paths( + local_path: &PathBuf, + paths: &Vec<PathBuf>, +) -> Option<RelativeFiles> { // Get Relative Paths let Ok(paths) = format_input_paths_and_ignore_outside_paths(&local_path, &paths).await else { return None; |
