pub enum Scope {
User,
Project,
}Expand description
Where on disk an artifact should be installed.
User resolves to a path under the host’s home directory; Project
resolves to a path under the current working directory. Some agents are
project-scope only by convention; for them, User silently falls through
to the project path (see scope_is_meaningful and the v1 matrix in
resolve_path).
Named Scope and kept at module scope (not re-exported at the crate root)
to coexist with the existing repograph_core::context::Scope, which is a
different concept (context-aggregation scope).
Variants§
User
Install under the host’s home directory (~/).
Project
Install under the current working directory (the project root).
Trait Implementations§
impl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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