enum
Noir::SkippedFiles::Phase
Overview
Which clear a gap answers to. The phase is a lifecycle marker only — it
does not appear in the output — because the two halves of a scan are
reset at different moments.
Defined in:
models/skipped_files.crEnum Members
-
Scan =
0 -
The detection walk, delivery/export, and rule loading: the parts that run once around the analysis pass. Dropped when a new detection pass starts, which is where a scan of a new codebase begins.
-
Analysis =
1 -
The analysis pass. Dropped at the top of every
analysis_endpointscall: diff mode runs two, and an embedder can callanalyzetwice on one runner. A tally carried over would report the previous codebase's skips — and, under--strict, fail the build for them forever after.
Instance Method Summary
-
#analysis?
Returns
trueif this enum value equalsAnalysis -
#scan?
Returns
trueif this enum value equalsScan