Function
generate
(
settings: &SettingGroup,
parent_group: ParentGroup,
filename: &str,
out_dir: &std::path::Path,
)
Source from the content-addressed store, hash-verified
| 411 | } |
| 412 | |
| 413 | pub(crate) fn generate( |
| 414 | settings: &SettingGroup, |
| 415 | parent_group: ParentGroup, |
| 416 | filename: &str, |
| 417 | out_dir: &std::path::Path, |
| 418 | ) -> Result<(), error::Error> { |
| 419 | let mut fmt = Formatter::new(Language::Rust); |
| 420 | gen_group(settings, parent_group, &mut fmt); |
| 421 | fmt.write(filename, out_dir)?; |
| 422 | Ok(()) |
| 423 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected