pub enum SkipReason {
SizeCeiling,
DenylistedExtension,
SizeThreshold,
BinaryContent,
DependencyLockfile,
Untracked,
UnsupportedLanguage,
}Expand description
Reason a file was placed in Tier 2 or Tier 3.
Variants§
SizeCeiling
DenylistedExtension
SizeThreshold
BinaryContent
DependencyLockfile
File is a dependency lockfile (e.g. package-lock.json, Cargo.lock).
Demoted to Tier-2 metadata-only so its machine-generated content does not
flood the index with thousands of junk key/value symbols (a single
package-lock.json can mint ~9k JSON-key symbols, dominating symbol counts
and conventions complexity heuristics). The path stays searchable as
metadata; only symbol extraction is skipped. See LOCKFILE_BASENAMES.
Untracked
SF-009: file demoted to Tier-2 because it is not git-tracked, under the
opt-in SYMFORGE_EXCLUDE_UNTRACKED policy (default OFF). Only minted when
that env gate is explicitly enabled; the default admission path never
produces this reason, so admission defaults are unchanged.
UnsupportedLanguage
SF-004 / SF-012: file exists on disk and is small/non-binary, but its
extension maps to no supported tree-sitter grammar (e.g. .tcl, .sh,
.m, .eex, extensionless LICENSE/Makefile). It cannot be parsed, so
it is admitted Tier-2 metadata-only instead of being stored with a
contradictory Tier-1/Normal decision (which made it vanish from tier
accounting and minted a false “File not found”). The path stays searchable
as metadata; only symbol extraction is skipped.
Trait Implementations§
Source§impl Clone for SkipReason
impl Clone for SkipReason
Source§fn clone(&self) -> SkipReason
fn clone(&self) -> SkipReason
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SkipReason
Source§impl Debug for SkipReason
impl Debug for SkipReason
Source§impl Display for SkipReason
impl Display for SkipReason
impl Eq for SkipReason
Source§impl PartialEq for SkipReason
impl PartialEq for SkipReason
Source§fn eq(&self, other: &SkipReason) -> bool
fn eq(&self, other: &SkipReason) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SkipReason
Auto Trait Implementations§
impl Freeze for SkipReason
impl RefUnwindSafe for SkipReason
impl Send for SkipReason
impl Sync for SkipReason
impl Unpin for SkipReason
impl UnsafeUnpin for SkipReason
impl UnwindSafe for SkipReason
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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