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

Function get_config_path

src/config.rs:398–403  ·  view source on GitHub ↗

Returns the path to the configuration file (`config.json`) within the resolved data directory.

(project_root: &Path)

Source from the content-addressed store, hash-verified

396/// Returns the path to the configuration file (`config.json`) within the
397/// resolved data directory.
398pub fn get_config_path(project_root: &Path) -> PathBuf {
399 if let Ok(layout) = crate::storage::resolve_layout_for_current_profile(project_root) {
400 return layout.config_path;
401 }
402 get_tracedecay_dir(project_root).join(CONFIG_FILENAME)
403}
404
405/// Loads the configuration from disk.
406///

Calls 2

get_tracedecay_dirFunction · 0.85