pub struct RepositoryIdentity {
pub scope: ProjectScope,
pub legacy_scope: ProjectScope,
pub aliases: Vec<ProjectScope>,
pub repository_root: PathBuf,
pub worktree_root: PathBuf,
pub common_dir: Option<PathBuf>,
}Fields§
§scope: ProjectScopeCanonical repository key, with the currently verified repository root.
legacy_scope: ProjectScopeExactly the scope legacy discovery would return for this invocation.
aliases: Vec<ProjectScope>Deduplicated migration candidates, including scope itself. Historical
roots were verified when recorded; they need not still exist. This list
is evidence for an operator, NOT permission to merge or query aliases.
repository_root: PathBufCurrent main checkout when verifiable, otherwise the common directory.
worktree_root: PathBufCurrent checkout (or explicit override/non-Git legacy root).
common_dir: Option<PathBuf>Trait Implementations§
Source§impl Clone for RepositoryIdentity
impl Clone for RepositoryIdentity
Source§impl Debug for RepositoryIdentity
impl Debug for RepositoryIdentity
impl Eq for RepositoryIdentity
Source§impl PartialEq for RepositoryIdentity
impl PartialEq for RepositoryIdentity
impl StructuralPartialEq for RepositoryIdentity
Auto Trait Implementations§
impl Freeze for RepositoryIdentity
impl RefUnwindSafe for RepositoryIdentity
impl Send for RepositoryIdentity
impl Sync for RepositoryIdentity
impl Unpin for RepositoryIdentity
impl UnsafeUnpin for RepositoryIdentity
impl UnwindSafe for RepositoryIdentity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.