Trait git_scanner::toxicity_indicator_calculator::ToxicityIndicatorCalculator[][src]

pub trait ToxicityIndicatorCalculator: Debug {
    fn name(&self) -> String;
fn calculate(&mut self, path: &Path) -> Result<Option<Value>, Error>;
fn metadata(&self) -> Result<Option<Value>, Error>; }

Wrapper for the logic that calculates toxicity indicators

Required methods

fn name(&self) -> String[src]

fn calculate(&mut self, path: &Path) -> Result<Option<Value>, Error>[src]

fn metadata(&self) -> Result<Option<Value>, Error>[src]

root-level metadata - output after all files added

Loading content...

Implementors

Loading content...