pub fn read_agent_db(path: &Path) -> Result<(Vec<AgentDay>, ImportSummary)>Expand description
Reads an agent’s database into days, newest last.
Opened read-only: this is the employee’s file, and an import must not be able to damage the thing it is copying from - not even by taking a write lock on a database the agent is still using.