From 54bdb27af49788ca4562a72510f3b81278cb133f Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Wed, 19 Nov 2025 17:22:37 +0800 Subject: Change function signatures to use references --- crates/vcs_data/src/data/local/local_files.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crates/vcs_data/src/data') 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) -> Option { +pub async fn get_relative_paths( + local_path: &PathBuf, + paths: &Vec, +) -> Option { // Get Relative Paths let Ok(paths) = format_input_paths_and_ignore_outside_paths(&local_path, &paths).await else { return None; -- cgit