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.
upstream_repository()
1 parent ac7fa66 commit ef6a7f8Copy full SHA for ef6a7f8
src/tests/util/test_app.rs
@@ -132,11 +132,6 @@ impl TestApp {
132
assert_some!(self.0.index.as_ref())
133
}
134
135
- /// Obtain a reference to the upstream repository ("the index")
136
- pub fn upstream_repository(&self) -> &git2::Repository {
137
- &self.upstream_index().repository
138
- }
139
-
140
/// Obtain a list of crates from the index HEAD
141
pub fn crates_from_index_head(&self, crate_name: &str) -> Vec<cargo_registry::git::Crate> {
142
self.upstream_index().crates_from_index_head(crate_name)
0 commit comments