Skip to main content

global_dir

Function global_dir 

Source
pub fn global_dir(sub: &str) -> Option<PathBuf>
Expand description

Resolve the global resource subdir <agent_dir>/<sub> (e.g. ~/.rpi/agent/skills). Returns None if the agent dir can’t be resolved (no home dir + no RPI_CODING_AGENT_DIR) — callers then proceed project-only.