docs: Add Rustdoc to code and comments to grammar file
Co-authored-by: aider (openai/andrew/openrouter/sonoma-sky-alpha) <aider@aider.chat>
This commit is contained in:
@@ -371,23 +371,4 @@ fn show_list_structured(
|
||||
compression: item.compression,
|
||||
file_size,
|
||||
file_size_formatted,
|
||||
file_path: item_path.into_os_string().into_string().unwrap_or_default(),
|
||||
tags,
|
||||
meta,
|
||||
};
|
||||
|
||||
list_items.push(list_item);
|
||||
}
|
||||
|
||||
match output_format {
|
||||
OutputFormat::Json => {
|
||||
println!("{}", serde_json::to_string_pretty(&list_items)?);
|
||||
}
|
||||
OutputFormat::Yaml => {
|
||||
println!("{}", serde_yaml::to_string(&list_items)?);
|
||||
}
|
||||
OutputFormat::Table => unreachable!(),
|
||||
}
|
||||
|
||||
Ok(())
|
||||
}
|
||||
file_path: item_path.into_os_string().into_string
|
||||
Reference in New Issue
Block a user