Skip to main content

remove_credentials

Function remove_credentials 

Source
pub fn remove_credentials() -> Result<bool>
Expand description

Removes Datadog credential keys from ~/.omni-dev/settings.json.

Leaves all other settings intact. Returns true if any Datadog key was present and removed, false when the file was already free of them (or did not exist).