akkudoktoreos.core.version.HashConfig

class akkudoktoreos.core.version.HashConfig(paths: list[Path], allowed_suffixes: set[str], excluded_dir_patterns: set[str], excluded_files: set[Path])

Bases: object

Configuration for file hashing.

__init__(paths: list[Path], allowed_suffixes: set[str], excluded_dir_patterns: set[str], excluded_files: set[Path]) None

Methods

__init__(paths, allowed_suffixes, ...)

Attributes

paths

allowed_suffixes

excluded_dir_patterns

excluded_files

paths: list[Path]
allowed_suffixes: set[str]
excluded_dir_patterns: set[str]
excluded_files: set[Path]
__post_init__() None

Validate configuration.

__init__(paths: list[Path], allowed_suffixes: set[str], excluded_dir_patterns: set[str], excluded_files: set[Path]) None