Skip to main content

reset

Function reset 

Source
pub fn reset(path: &Path) -> Result<(), TelemetryError>
Expand description

Convenience: delete the consent file. Ok(()) if the file was already absent — telemetry reset is idempotent.

§Errors

TelemetryError::Io for filesystem failures other than “not found.”