Skip to main content

context_files

Function context_files 

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

The global context file from the agent directory, then those of project_dir and its ancestors, outermost first. In a linked worktree nested in its main checkout, the main checkout’s file is left out when the worktree has its own.