#[non_exhaustive]pub enum InapplicableReason {
Show 14 variants
NoErlangSurfaceTouched,
OnlyDocsTouched,
OnlyTestFixturesTouched,
OnlySchemaTouched,
OnlyMakefileTouched,
OnlyMixExsTouched,
OnlyCiWorkflowTouched,
OnlyAppSrcTouched,
OnlyRebarConfigTouched,
OnlyTestVisibilityChanged,
OnlySelfSurfaceTouched,
OutOfScopeFor {
project: ProjectName,
},
Untracked,
PathsMissingOnTarget {
paths: Vec<RelativePath>,
},
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
NoErlangSurfaceTouched
OnlyDocsTouched
OnlyTestFixturesTouched
OnlySchemaTouched
OnlyMakefileTouched
OnlyMixExsTouched
OnlyCiWorkflowTouched
OnlyAppSrcTouched
OnlyRebarConfigTouched
OnlyTestVisibilityChanged
Every changed .erl hunk is a Variant A unwrap: dropping
-ifdef(TEST). or -endif. around an -export(...) directive,
or rewriting -compile(export_all). to an explicit
-export([...]). No call sites, no specs, no bodies touched:
only test-visibility metadata.
OnlySelfSurfaceTouched
The patch touches Erlang surface but every referenced symbol
resolves to the self-pin or to a local definition: every
tracked-dep pin has zero in-scope references. Without this
reason the operator would see many vacuous Compatible
rows for a patch that backhopper genuinely has no signal on.
OutOfScopeFor
Every touched path is in a sibling project’s scope, not this
pin’s. The pin has nothing to say about the patch. project
names the first sibling project (alphabetical) that owns the
out-of-scope paths.
Fields
project: ProjectNameUntracked
Every touched path is unclaimed by any configured project’s scan_paths or app_roots. Vendored files, docs, build scripts.
PathsMissingOnTarget
--target-repo-dir-path was supplied and every touched path
is missing from the target tree, with no configured
translation mapping any of them. The patch as written does
not apply to the target.
Fields
paths: Vec<RelativePath>