pub struct RuntimeCoverageSeamInput<'a> {
pub root: &'a Path,
pub modules: &'a [ModuleInfo],
pub analysis_output: &'a DeadCodeAnalysisArtifacts,
pub istanbul_coverage: Option<&'a IstanbulCoverage>,
pub file_paths: &'a FxHashMap<FileId, &'a PathBuf>,
pub ignore_set: &'a GlobSet,
pub changed_files: Option<&'a FxHashSet<PathBuf>>,
pub ws_roots: Option<&'a [PathBuf]>,
pub top: Option<usize>,
pub codeowners_path: Option<&'a str>,
pub quiet: bool,
pub output: OutputFormat,
}Expand description
Inputs the runtime coverage seam needs from the analysis core.
Fields§
§root: &'a PathProject root the analysis ran against.
modules: &'a [ModuleInfo]Parsed modules from the extract phase, for correlating trace symbols.
analysis_output: &'a DeadCodeAnalysisArtifactsRetained dead-code artifacts (graph plus results) the sidecar joins runtime traces against.
istanbul_coverage: Option<&'a IstanbulCoverage>Parsed Istanbul test coverage when the run also supplied it.
file_paths: &'a FxHashMap<FileId, &'a PathBuf>FileId to absolute-path lookup for resolving finding locations.
ignore_set: &'a GlobSetCompiled ignore globs; matching files are excluded from verdicts.
changed_files: Option<&'a FxHashSet<PathBuf>>Diff scope when the run is limited to changed files.
ws_roots: Option<&'a [PathBuf]>Workspace roots when the run is workspace-scoped.
top: Option<usize>Cap on rendered findings, forwarded from --top.
codeowners_path: Option<&'a str>CODEOWNERS override path for ownership attribution on findings.
quiet: boolSuppress progress notes on stderr.
output: OutputFormatOutput format the seam should render its own diagnostics in.
Auto Trait Implementations§
impl<'a> Freeze for RuntimeCoverageSeamInput<'a>
impl<'a> RefUnwindSafe for RuntimeCoverageSeamInput<'a>
impl<'a> Send for RuntimeCoverageSeamInput<'a>
impl<'a> Sync for RuntimeCoverageSeamInput<'a>
impl<'a> Unpin for RuntimeCoverageSeamInput<'a>
impl<'a> UnsafeUnpin for RuntimeCoverageSeamInput<'a>
impl<'a> UnwindSafe for RuntimeCoverageSeamInput<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more