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.
index_file()
1 parent 9a67562 commit c45ac7fCopy full SHA for c45ac7f
src/git.rs
@@ -137,6 +137,7 @@ impl RepositoryConfig {
137
}
138
139
pub struct Repository {
140
+ /// bla
141
pub checkout_path: TempDir,
142
repository: git2::Repository,
143
pub credentials: Credentials,
@@ -186,6 +187,11 @@ impl Repository {
186
187
})
188
189
190
+ /// Returns the absolute path to the crate index file that corresponds to
191
+ /// the given crate name.
192
+ ///
193
+ /// This is similar to [Self::relative_index_file], but returns the absolute
194
+ /// path.
195
pub fn index_file(&self, name: &str) -> PathBuf {
196
self.checkout_path
197
.path()
0 commit comments