Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions src/authorship/virtual_attribution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,6 @@ impl VirtualAttributions {
)))
}

/// Add a single pathspec to the virtual attributions
#[allow(dead_code)]
pub async fn add_pathspec(&mut self, pathspec: &str) -> Result<(), GitAiError> {
self.add_pathspecs_concurrent(&[pathspec.to_string()]).await
}

/// Add multiple pathspecs concurrently
async fn add_pathspecs_concurrent(&mut self, pathspecs: &[String]) -> Result<(), GitAiError> {
const MAX_CONCURRENT: usize = 30;
Expand Down Expand Up @@ -306,7 +300,6 @@ impl VirtualAttributions {
}

/// Get both character and line attributions for a file
#[allow(dead_code)]
pub fn get_attributions(
&self,
file_path: &str,
Expand Down
Loading