pub struct ManifestAnalysis {
pub workspace_packages: Vec<String>,
pub invalid_manifests: Vec<WorkspaceError>,
pub dependency_manifests: Vec<DependencyManifestOwner>,
pub declared_dependencies: Vec<DeclaredDep>,
pub manifest_used_dependencies: Vec<PackageDependency>,
pub root_dependency_inheritance: Vec<String>,
}Expand description
Consolidated manifest analysis for one repository snapshot in a single pass.
Fields§
§workspace_packages: Vec<String>The root folder of each workspace member package, relative to the repository root, with forward slashes. The repository root is never in the list; an empty list means the repository is one package.
invalid_manifests: Vec<WorkspaceError>Manifests that could not be parsed and were skipped during analysis, with their exact paths and reasons.
dependency_manifests: Vec<DependencyManifestOwner>Manifest files that own dependencies for a package root.
declared_dependencies: Vec<DeclaredDep>External dependencies declared in the valid manifests.
manifest_used_dependencies: Vec<PackageDependency>External dependencies used by manifest scripts or configuration rather than source imports.
root_dependency_inheritance: Vec<String>Package roots whose dependencies inherit from the repository root package, such as npm workspace hoisting.
Trait Implementations§
Source§impl Clone for ManifestAnalysis
impl Clone for ManifestAnalysis
Source§impl Debug for ManifestAnalysis
impl Debug for ManifestAnalysis
impl Eq for ManifestAnalysis
Source§impl PartialEq for ManifestAnalysis
impl PartialEq for ManifestAnalysis
impl StructuralPartialEq for ManifestAnalysis
Auto Trait Implementations§
impl Forget for ManifestAnalysis
impl Freeze for ManifestAnalysiswhere
*const u8 is !null: Freeze,
PhantomData<String>: Freeze,
PhantomData<WorkspaceError>: Freeze,
PhantomData<DependencyManifestOwner>: Freeze,
PhantomData<DeclaredDep>: Freeze,
PhantomData<PackageDependency>: Freeze,
impl Move for ManifestAnalysis
impl RefUnwindSafe for ManifestAnalysis
impl Send for ManifestAnalysiswhere
RawVecInner: Send,
impl Sync for ManifestAnalysiswhere
RawVecInner: Sync,
impl Unpin for ManifestAnalysis
impl UnsafeUnpin for ManifestAnalysis
impl UnwindSafe for ManifestAnalysiswhere
RawVecInner: UnwindSafe,
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