Skip to main content

load_context_files

Function load_context_files 

Source
pub fn load_context_files(cwd: &Path, agent_dir: &Path) -> Vec<ContextFile>
Expand description

Discover context files in the standard locations.

Order: global → ancestors (rootward) → cwd The returned vec has global first, then ancestors in root-to-leaf order, so later entries take precedence when concatenated.