pub struct BaseDiffInputs { /* private fields */ }Expand description
Base-revision packages, changed paths, and tree object index for diff ownership.
Implementations§
Source§impl BaseDiffInputs
impl BaseDiffInputs
Sourcepub fn packages(&self) -> &[Package]
pub fn packages(&self) -> &[Package]
Returns packages discovered solely from base-revision declarations.
Sourcepub fn changed(&self) -> &[RelativePath]
pub fn changed(&self) -> &[RelativePath]
Returns the sorted, deduplicated changed-path set.
Sourcepub fn is_bootstrapping(&self) -> bool
pub fn is_bootstrapping(&self) -> bool
Returns whether candidate declarations were selected for a wholly absent base root.
Sourcepub fn manifest_changes(
&self,
root: &Path,
ownership: &DiffOwnership,
) -> Result<Vec<CargoManifestChange>, BaseInputsError>
pub fn manifest_changes( &self, root: &Path, ownership: &DiffOwnership, ) -> Result<Vec<CargoManifestChange>, BaseInputsError>
Loads base/candidate bytes for accountable changed Cargo.toml paths under ownership.
§Errors
Returns BXW0104/BXW0106 for unreadable base blobs or non-regular candidate paths.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BaseDiffInputs
impl RefUnwindSafe for BaseDiffInputs
impl Send for BaseDiffInputs
impl Sync for BaseDiffInputs
impl Unpin for BaseDiffInputs
impl UnsafeUnpin for BaseDiffInputs
impl UnwindSafe for BaseDiffInputs
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