refactor: change meta_name to immutable reference and add debugging

Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
This commit is contained in:
Andrew Phillips
2025-08-19 14:12:53 -03:00
parent eb7da379ef
commit 73bfc064ea
7 changed files with 24 additions and 17 deletions

View File

@@ -88,7 +88,7 @@ pub trait MetaPlugin {
// Update the meta plugin with new data
fn update(&mut self, data: &[u8], conn: &Connection);
fn meta_name(&mut self) -> String;
fn meta_name(&self) -> String;
// Get program information for display in status
fn program_info(&self) -> Option<(&str, Vec<&str>)> {