pub struct Cache {
pub cfg: Arc<Config>,
pub refreshed: BTreeSet<Refresh>,
/* private fields */
}Fields§
§cfg: Arc<Config>§refreshed: BTreeSet<Refresh>Implementations§
Source§impl Cache
impl Cache
pub fn did_refresh(&mut self, rt: Option<RefreshingToken>)
Source§impl Cache
impl Cache
Source§impl Cache
impl Cache
pub fn run_git_fetch_pull( &mut self, refresh: RefreshKind, repo: &mut dyn Repo, args1: &[&str], remote_name: &str, branch_pats: &[&str], extra_refspecs: &[&str], ) -> Result<Option<RefreshingToken>, AE>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Cache
impl !RefUnwindSafe for Cache
impl !Sync for Cache
impl !UnwindSafe for Cache
impl Send for Cache
impl Unpin for Cache
impl UnsafeUnpin for Cache
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more