MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / new

Method new

src/sessions/cursor.rs:454–457  ·  view source on GitHub ↗

Source rooted at the real `~/.cursor/projects`. Returns `None` when the home directory cannot be resolved.

()

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

home_dirFunction · 0.70

Tested by

no test coverage detected