Skip to main content

Crate lintian_overrides

Crate lintian_overrides 

Source

Structs§

LintianOverrides
The root node of a lintian-overrides file
LintianOverridesBuilder
Builder for creating/modifying lintian-overrides files
OverrideLine
A single override line
PackageSpec
Package specification (e.g., “package:” or “binary:”)
Parse
The result of parsing a lintian-overrides file.

Enums§

Lang
Language type for the lintian override parser
SyntaxKind
Syntax kinds for lintian override files

Traits§

AstNode
Trait for AST nodes

Functions§

copy_node
Copy a syntax node into a green node builder
filter_overrides
Filter override lines based on a predicate
find_override_files
Find all lintian-overrides files in a debian directory
info_matches
Check if an info string matches a pattern with wildcards
iter_overrides
Iterate over all lintian override lines in a debian directory
map_overrides
Map override lines using a transformation function Returns a new LintianOverrides with the lines transformed by the function If the function returns None, the original line is kept unchanged
rename_tags
Rebuild overrides with each line’s TAG token rewritten by rename.

Type Aliases§

SyntaxElement
Syntax element type for lintian overrides
SyntaxNode
Syntax node type for lintian overrides
SyntaxToken
Syntax token type for lintian overrides