Skip to main content

load_all_agents_md

Function load_all_agents_md 

Source
pub fn load_all_agents_md(start_dir: &Path) -> Vec<(String, PathBuf)>
Expand description

Load all AGENTS.md files from the given directory up to the root. Returns a list of (content, path) tuples, from most specific (closest to start_dir) to least. Traversal stops at the nearest git repository root (directory containing .git).