Skip to main content

claim_root

Function claim_root 

Source
pub fn claim_root(project_root: &Path, number: u64, agent: &str) -> PathBuf
Expand description

The checkout to act on claim number from: project_root, unless its vault holds no claim of agent on number while exactly one other vault does. An agent’s session often runs in another repository than the one it claimed in (the claim names its checkout), and the task number alone then finds the claim the agent holds.