Skip to main content

load_files

Function load_files 

Source
pub fn load_files(pattern: &str, root: &Path) -> Result<String>
Expand description

Load all files matching a glob pattern (e.g. src/**/*.rs), returning their contents concatenated with path headers. Caps at 100 files and 500 KB total to keep context manageable.