pub struct WorkspaceScanner { /* private fields */ }Expand description
Scans a workspace to discover all projects and their metadata
The WorkspaceScanner is responsible for discovering all projects in a workspace,
extracting their metadata, and building the initial project list. It uses
ricecoder_storage::PathResolver for all path operations.
Implementations§
Source§impl WorkspaceScanner
impl WorkspaceScanner
Sourcepub async fn scan_workspace(&self) -> Result<Vec<Project>>
pub async fn scan_workspace(&self) -> Result<Vec<Project>>
Scans the workspace and discovers all projects
This method scans the workspace root for all projects and extracts their metadata (name, path, type). It handles missing or malformed project files gracefully.
§Returns
A vector of discovered projects
Auto Trait Implementations§
impl Freeze for WorkspaceScanner
impl RefUnwindSafe for WorkspaceScanner
impl Send for WorkspaceScanner
impl Sync for WorkspaceScanner
impl Unpin for WorkspaceScanner
impl UnwindSafe for WorkspaceScanner
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