magi-code 0.105.0

Repository-aware CLI coding agent for terminal work
Documentation
1
2
3
4
5
6
7
8
9
10
use super::{McPaths, current_project_dir, project_settings_file_for};
use std::path::PathBuf;

impl McPaths {
    // Used by startup discovery, repeated setup, and prompt-input profiling fixtures.
    pub(crate) fn from_root(root: PathBuf) -> Self {
        let project_settings_file = project_settings_file_for(&current_project_dir());
        Self::from_parts(root, project_settings_file, None)
    }
}