Source rooted at the real `~/.codex`. Returns `None` when the home directory cannot be resolved.
()
| 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 { |
nothing calls this directly
no test coverage detected