pub trait SourceAnalysisQuery {
fn should_ignore(&self, path: &Path, l: &usize) -> bool;
fn normalise(&self, path: &Path, l: usize) -> (PathBuf, usize);
}
Expand description
When the LineAnalysis
results are mapped to their files there needs to be
an easy way to get the information back. For the container used implement
this trait
Required Methods
sourcefn should_ignore(&self, path: &Path, l: &usize) -> bool
fn should_ignore(&self, path: &Path, l: &usize) -> bool
Returns true if the line in the given file should be ignored