pub struct LeftOut(/* private fields */);Expand description
The copies a run leaves out of each npm or git package that several
sources install, so it loads once, from the first of: the project’s
manifest, the project’s settings packages, the global manifest and the
global settings packages. Of two entries of one manifest, the first
loads. pi’s own rules decide between two settings copies.
Implementations§
Source§impl LeftOut
impl LeftOut
Sourcepub fn new(
installed: &Installed,
settings: &SettingsManager,
keep: Option<&ProjectOnly>,
agent_dir: &Path,
) -> LeftOut
pub fn new( installed: &Installed, settings: &SettingsManager, keep: Option<&ProjectOnly>, agent_dir: &Path, ) -> LeftOut
The copies left out of installed and the packages of settings,
each with the copy that loads instead. With keep, a project-only
run’s keep list, a global copy that only a kind list keeps comes
after the copies the run keeps whole, and one it keeps no file of
doesn’t count. Global paths are relative to agent_dir.
Sourcepub fn chest(&self, input: &PackageInput) -> bool
pub fn chest(&self, input: &PackageInput) -> bool
Whether chest’s package input is left out.
Trait Implementations§
impl StructuralPartialEq for LeftOut
Auto Trait Implementations§
impl Forget for LeftOut
impl Freeze for LeftOut
impl RefUnwindSafe for LeftOut
impl Send for LeftOut
impl Sync for LeftOut
impl Unpin for LeftOut
impl UnsafeUnpin for LeftOut
impl UnwindSafe for LeftOut
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