Path to an agent's receipt file.
(agent: &str)
| 48 | |
| 49 | /// Path to an agent's receipt file. |
| 50 | pub fn receipt_path(agent: &str) -> AgentResult<PathBuf> { |
| 51 | Ok(agent_dir(agent)?.join(RECEIPT_FILE)) |
| 52 | } |
| 53 | |
| 54 | /// One installed file and its content hash at install time. |
| 55 | #[derive(Debug, Clone, Serialize, Deserialize)] |