fn delete_mapping(&self, key_triple: &KeyTriple) -> std::io::Result<()> {
        let (app_name, prov, key_name) = key_triple_to_base64_filenames(key_triple);
        let key_name_file_path = self
            .mappings_dir_path
            .join(app_name)
            .join(prov)
            .join(key_name);
        if key_name_file_path.exists() {
            fs::remove_file(key_name_file_path)
        } else {
            Ok(())
        }
    }
/// Removes the mapping file.
/// Will do nothing if the mapping file does not exist.
Removes the mapping file.
Will do nothing if the mapping file does not exist.
Removes the mapping file . Will do nothing if the mapping file does not exist .
fn delete_mapping(&self, key_triple: &KeyTriple) -> std::io::Result<()> {
        let (app_name, prov, key_name) = key_triple_to_base64_filenames(key_triple);
        let key_name_file_path = self
            .mappings_dir_path
            .join(app_name)
            .join(prov)
            .join(key_name);
        if key_name_file_path.exists() {
            fs::remove_file(key_name_file_path)
        } else {
            Ok(())
        }
    }
fn delete_mapping ( & self , key_triple : & KeyTriple ) -> std :: io :: Result < ( ) > { let ( app_name , prov , key_name ) = key_triple_to_base64_filenames ( key_triple ) ; let key_name_file_path = self . mappings_dir_path . join ( app_name ) . join ( prov ) . join ( key_name ) ; if key_name_file_path . exists ( ) { fs :: remove_file ( key_name_file_path ) } else { Ok ( ( ) ) } }
Removes the mapping file.
Removes the mapping file .
&self
key_triple
&KeyTriple
&self
key_triple
&KeyTriple