Source rooted at the real `~/.cursor/projects`. Returns `None` when the home directory cannot be resolved.
()
| 452 | /// Source rooted at the real `~/.cursor/projects`. Returns `None` when the |
| 453 | /// home directory cannot be resolved. |
| 454 | pub fn new() -> Option<Self> { |
| 455 | let home = crate::sessions::home_dir()?; |
| 456 | Some(Self::with_home(&home)) |
| 457 | } |
| 458 | |
| 459 | /// Source rooted at `<home>/.cursor/projects` (used by tests). |
| 460 | pub fn with_home(home: &Path) -> Self { |
nothing calls this directly
no test coverage detected