Skip to main content

native_config_dir

Function native_config_dir 

Source
pub fn native_config_dir(project_root: &Path) -> PathBuf
Expand description

Trusty Code’s own project configuration directory — the ONLY write target.

Why: resolve_project_entry may legitimately RESOLVE into .claude/, but a write there would make Trusty Code mutate another product’s directory. The read path and the write path are therefore deliberately different functions. What: <project_root>/.trusty-code, unconditionally — never probed, never falling back. Test: paths::tests::native_config_dir_is_always_trusty_code.