We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc70301 commit 489d2daCopy full SHA for 489d2da
src/archive.rs
@@ -70,19 +70,6 @@ impl<'a> ArchiveBuilder<'a> for ArArchiveBuilder<'a> {
70
}
71
72
73
- fn src_files(&mut self) -> Vec<String> {
74
- self.entries.iter().map(|(name, _)| name.clone()).collect()
75
- }
76
-
77
- fn remove_file(&mut self, name: &str) {
78
- let index = self
79
- .entries
80
- .iter()
81
- .position(|(entry_name, _)| entry_name == name)
82
- .expect("Tried to remove file not existing in src archive");
83
- self.entries.remove(index);
84
85
86
fn add_file(&mut self, file: &Path) {
87
self.entries.push((
88
file.file_name().unwrap().to_str().unwrap().to_string(),
0 commit comments