File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
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,9 +179,9 @@ impl RepositoryConfig {
179
179
}
180
180
181
181
pub struct Repository {
182
- pub checkout_path : TempDir ,
182
+ checkout_path : TempDir ,
183
183
repository : git2:: Repository ,
184
- pub credentials : Credentials ,
184
+ credentials : Credentials ,
185
185
}
186
186
187
187
impl Repository {
You can’t perform that action at this time.
0 commit comments