pub struct DotnetResolver;Expand description
DotnetResolver detects .NET solutions via *.sln files and resolves project references.
Uses glob for solution file discovery, regex for parsing .sln project entries,
and quick-xml for parsing <ProjectReference> elements from .csproj/.fsproj/.vbproj files.
Trait Implementations§
Source§impl Resolver for DotnetResolver
impl Resolver for DotnetResolver
Source§fn detect(&self, root: &Path) -> bool
fn detect(&self, root: &Path) -> bool
Can this resolver handle the project at the given root path?
Source§fn resolve(&self, root: &Path) -> Result<ProjectGraph>
fn resolve(&self, root: &Path) -> Result<ProjectGraph>
Build the full project graph: packages + dependency edges.
Source§fn package_for_file(
&self,
graph: &ProjectGraph,
file: &Path,
) -> Option<PackageId>
fn package_for_file( &self, graph: &ProjectGraph, file: &Path, ) -> Option<PackageId>
Given a file path (relative to project root), return which package owns it.
Auto Trait Implementations§
impl Freeze for DotnetResolver
impl RefUnwindSafe for DotnetResolver
impl Send for DotnetResolver
impl Sync for DotnetResolver
impl Unpin for DotnetResolver
impl UnsafeUnpin for DotnetResolver
impl UnwindSafe for DotnetResolver
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