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

Method new

src/sessions/codex.rs:84–87  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

82 /// Source rooted at the real `~/.codex`. Returns `None` when the
83 /// home directory cannot be resolved.
84 pub fn new() -> Option<Self> {
85 let home = crate::sessions::home_dir()?;
86 Some(Self::with_home(&home))
87 }
88
89 /// Source rooted at `<home>/.codex` (used by tests).
90 pub fn with_home(home: &Path) -> Self {

Callers

nothing calls this directly

Calls 1

home_dirFunction · 0.70

Tested by

no test coverage detected