pub struct RepoFrom {
pub store: Store,
pub moved: Vec<Episode>,
pub skipped: Vec<String>,
pub held: usize,
pub stay: usize,
pub backup: Option<PathBuf>,
}Expand description
What moving a repo’s evidence takes from one store.
Fields§
§store: Store§moved: Vec<Episode>The episodes it gives the target, and which of them learning judged no lesson there.
skipped: Vec<String>§held: usizeOf moved, the ones the target holds already: removed here, not appended twice.
stay: usizeThe repo’s episodes that stay: learned into a lesson here, or recorded here by borg correct.
backup: Option<PathBuf>Where the source’s episodes.jsonl was copied before the move rewrote it (applied only).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepoFrom
impl RefUnwindSafe for RepoFrom
impl Send for RepoFrom
impl Sync for RepoFrom
impl Unpin for RepoFrom
impl UnsafeUnpin for RepoFrom
impl UnwindSafe for RepoFrom
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