pub struct RepositoryInput {
pub registration_roots: Vec<PathBuf>,
pub expected_identity: Option<String>,
pub path: PathBuf,
pub name: Option<String>,
pub remote: Option<String>,
pub from: Option<String>,
}Expand description
Repository selection and its per-participant overrides.
Fields§
§registration_roots: Vec<PathBuf>Explicit source spellings to register once the worktree is admitted.
expected_identity: Option<String>Backing identity observed when resolving a tracked reference.
path: PathBufPath to the backing repository selected by the caller.
name: Option<String>Optional override for the participant’s directory name inside the task.
remote: Option<String>Remote selected for branch resolution or fetch.
from: Option<String>Starting revision for a newly created branch.
Trait Implementations§
Source§impl Clone for RepositoryInput
impl Clone for RepositoryInput
Auto Trait Implementations§
impl Forget for RepositoryInput
impl Freeze for RepositoryInput
impl Move for RepositoryInput
impl RefUnwindSafe for RepositoryInput
impl Send for RepositoryInput
impl Sync for RepositoryInput
impl Unpin for RepositoryInput
impl UnsafeUnpin for RepositoryInput
impl UnwindSafe for RepositoryInput
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