Skip to main content

write_incident

Function write_incident 

Source
pub fn write_incident(dir: &Path, zone: &str, op: &str) -> Option<Incident>
Expand description

Writes the incident to incidents.jsonl in dir unless an unacknowledged one for the same agent is already there (a restart finds the same damage again).