package
0.0.0-20231214144635-a707781cbb24
Repository: https://github.com/khulnasoft/codebase.git
Documentation: pkg.go.dev

# Functions

FilterCheck filters check results by diff.
NewDiffFilter creates a new DiffFilter.
NormalizeDiffPath return path normalized path from given path in diff with strip.
NormalizePath return normalized path with workdir and relative path to project.

# Constants

ModeAdded represents filtering by added/changed diff lines.
ModeDefault represents default mode, which means users doesn't specify filter-mode.
ModeDiffContext represents filtering by diff context.
ModeFile represents filtering by changed files.
ModeNoFilter doesn't filter out any results.

# Structs

DiffFilter filters lines by diff.
FilteredDiagnostic represents Diagnostic with filtering info.

# Type aliases

Mode represents enumeration of available filter modes.