pub struct InputChanges<'a> { /* private fields */ }Expand description
Matches one revision change set against any number of resolved tasks, sharing linked-path traversal across tasks. Env and runtime values are not evaluated; the caller supplies lockfile revisions and the workspace-file comparison.
Implementations§
Source§impl<'a> InputChanges<'a>
impl<'a> InputChanges<'a>
Sourcepub fn new(
root: &Path,
files: &'a [String],
lockfiles: Option<(&'a Lockfile, &'a Lockfile)>,
workspace_file_changed: bool,
) -> Result<Self>
pub fn new( root: &Path, files: &'a [String], lockfiles: Option<(&'a Lockfile, &'a Lockfile)>, workspace_file_changed: bool, ) -> Result<Self>
files are workspace-relative changes. lockfiles are the readable base
and head revisions when the lockfile changed, or None otherwise;
workspace_file_changed excludes installation-resolution settings.
Auto Trait Implementations§
impl<'a> Freeze for InputChanges<'a>
impl<'a> RefUnwindSafe for InputChanges<'a>
impl<'a> Send for InputChanges<'a>
impl<'a> Sync for InputChanges<'a>
impl<'a> Unpin for InputChanges<'a>
impl<'a> UnsafeUnpin for InputChanges<'a>
impl<'a> UnwindSafe for InputChanges<'a>
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