MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / context_file_path

Function context_file_path

atomic-agent/src/learnings.rs:133–135  ·  view source on GitHub ↗

Returns the full path to the agent's context file in a repository.

(repo_root: &Path, agent_name: &str)

Source from the content-addressed store, hash-verified

131
132/// Returns the full path to the agent's context file in a repository.
133pub fn context_file_path(repo_root: &Path, agent_name: &str) -> PathBuf {
134 repo_root.join(context_file_for_agent(agent_name))
135}
136
137// Format Learnings as Markdown
138

Callers 2

test_context_file_pathFunction · 0.85

Calls 1

context_file_for_agentFunction · 0.85

Tested by 1

test_context_file_pathFunction · 0.68