Skip to main content

delete

Function delete 

Source
pub fn delete(base: &Path, game: &str, name: &str) -> Result<()>
Expand description

Removes a profile directory and everything under it, and clears the stored selection if it named this profile.

ยงErrors

Errors if the profile does not exist, so deleting an already-deleted profile is reported rather than treated as success.