pub fn save(&self) -> Result<()> {
        let rauk_path = get_rauk_output_path(&self.project_directory);
        let _ = std::fs::create_dir_all(rauk_path);

        let info_path = get_metadata_path(&self.project_directory);
        let data = serde_json::to_string(&self).context("Failed to serialize metadata to json")?;
        std::fs::write(info_path, data)?;

        Ok(())
    }
/// Writes the contents of RaukMetadata to file.
Writes the contents of RaukMetadata to file.
Writes the contents of RaukMetadata to file .
pub fn save(&self) -> Result<()> {
        let rauk_path = get_rauk_output_path(&self.project_directory);
        let _ = std::fs::create_dir_all(rauk_path);
        let info_path = get_metadata_path(&self.project_directory);
        let data = serde_json::to_string(&self).context("Failed to serialize metadata to json")?;
        std::fs::write(info_path, data)?;
        Ok(())
    }
pub fn save ( & self ) -> Result < ( ) > { let rauk_path = get_rauk_output_path ( & self . project_directory ) ; let _ = std :: fs :: create_dir_all ( rauk_path ) ; let info_path = get_metadata_path ( & self . project_directory ) ; let data = serde_json :: to_string ( & self ) . context ( " " ) ? ; std :: fs :: write ( info_path , data ) ? ; Ok ( ( ) ) }
Writes the contents of RaukMetadata to file.
Writes the contents of RaukMetadata to file .
&self
&self