File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ impl Credentials {
66
66
/// - If non-SSH credentials are use, `Err` is returned.
67
67
/// - If creation of the temporary file fails, `Err` is returned.
68
68
///
69
- pub fn write_temporary_ssh_key ( & self ) -> anyhow:: Result < tempfile:: TempPath > {
69
+ fn write_temporary_ssh_key ( & self ) -> anyhow:: Result < tempfile:: TempPath > {
70
70
let key = match self {
71
71
Credentials :: Ssh { key } => key,
72
72
_ => return Err ( anyhow ! ( "SSH key not available" ) ) ,
@@ -179,10 +179,9 @@ impl RepositoryConfig {
179
179
}
180
180
181
181
pub struct Repository {
182
- /// bla
183
- pub checkout_path : TempDir ,
182
+ checkout_path : TempDir ,
184
183
repository : git2:: Repository ,
185
- pub credentials : Credentials ,
184
+ credentials : Credentials ,
186
185
}
187
186
188
187
impl Repository {
You can’t perform that action at this time.
0 commit comments