1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use crate::Remote;
pub(crate) struct HandshakeWithRefs {
outcome: git_protocol::handshake::Outcome,
refs: Vec<git_protocol::handshake::Ref>,
}
pub type AuthenticateFn<'a> = Box<dyn FnMut(git_credentials::helper::Action) -> git_credentials::protocol::Result + 'a>;
pub struct Connection<'a, 'repo, T, P> {
pub(crate) remote: &'a Remote<'repo>,
pub(crate) authenticate: Option<AuthenticateFn<'a>>,
pub(crate) transport_options: Option<Box<dyn std::any::Any>>,
pub(crate) transport: T,
pub(crate) progress: P,
}
mod access;
pub mod ref_map;
pub mod fetch;