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.cr

Enum 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_endpoints call: diff mode runs two, and an embedder can call analyze twice 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

Instance Method Detail

def analysis? #

Returns true if this enum value equals Analysis


[View source]
def scan? #

Returns true if this enum value equals Scan


[View source]