pub struct Settings {
pub projects_root: Option<PathBuf>,
}Expand description
The [settings] section of the on-disk config. User-tunable knobs that
don’t fit naturally under [agents], [repo.*], or [workspace.*].
All fields are optional; absent values fall back to either an env var
(where one exists, e.g. REPOGRAPH_PROJECT_ROOT for projects_root) or
to “ask the user next time they need it” semantics.
Fields§
§projects_root: Option<PathBuf>User-declared root folder for git projects (e.g. ~/IdeaProjects,
~/code). When set, repograph init’s repo-registration step scans
this directly instead of probing the filesystem for common
conventions. None means “ask the user next time they need it” or
“fall back to free-form input with autocomplete.”
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Settings
impl<'de> Deserialize<'de> for Settings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Settings
impl StructuralPartialEq for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more