pub fn write_clear(&mut self) -> Result<()> {
        self.clear();

        self.write()
    }
/// Clear all data in the config and write to disk.
Clear all data in the config and write to disk.
Clear all data in the config and write to disk .
pub fn write_clear(&mut self) -> Result<()> {
        self.clear();
        self.write()
    }
pub fn write_clear ( & mut self ) -> Result < ( ) > { self . clear ( ) ; self . write ( ) }
Clear all data in the config and write to disk.
Clear all data in the config and write to disk .
&mut self