sarah 0.1.7

Count tokens, lines and function sizes per file to help AI agents decide what to refactor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Renderers: table and markdown for people, GitHub annotations and SARIF for CI.
//! JSON is `Report::to_json`.

mod common;
mod github;
mod markdown;
mod sarif;
mod table;

/// What the human-readable renderers show.
#[derive(Clone, Copy, Debug)]
pub struct View {
    /// Rows in the file, function and folder tables.
    pub top: usize,
    /// Show the folder table.
    pub dirs: bool,
}