You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(Mountain): Update import paths and function calls to match finalized module structure
This commit refactors import statements and function invocations across the Mountain backend to align with the finalized architecture:
- Updated all trait implementations (e.g., `CommandProvider`, `DocumentProvider`) to use explicit nested module paths matching the `Common` crate's structure
- Replaced `get_window()` with `get_webview_window()` for Tauri window access
- Changed state access to use `try_state()` for safer error handling
- Standardized function calls to use full path syntax (e.g., `Vine::Server::Initialize::Initialize()`)
- Fixed Cocoon initialization call in main application flow
These changes ensure Mountain properly implements the abstract traits defined in `Common` using the correct module paths and function signatures. The refactoring maintains architectural consistency across the Land project while resolving compilation issues from recent restructuring. No functionality changes were made - this purely aligns Mountain with the finalized module organization.
0 commit comments