Skip to main content

truncate_output

Function truncate_output 

Source
pub fn truncate_output(
    content: &str,
    max_lines: usize,
    max_bytes: usize,
) -> String
Expand description

Truncate tool output based on line count and byte limits.