pub fn object_path(objects_root: &Path, spec_id: &str) -> Result<PathBuf>Expand description
Compute the file path for a requirement in the sharded layout.
Given spec_id “FR-042” and objects_root “/repo/objects”: → /repo/objects/FR/000/FR-042.yaml
Given spec_id “FR-7-1500” (distributed mode) and objects_root “/repo/objects”: → /repo/objects/FR/001/FR-7-1500.yaml
The shard is computed from the sequence number (last numeric component).