altered_files#

Health check: Altered files in packages.

Functions#

find_altered_packages(→ dict[str, list[str]])

Finds packages with altered files (checksum mismatch).

altered_files(→ None)

Health check action: Report packages with altered files.

fix_altered_files(→ int)

Fix altered files by reinstalling affected packages.

conda_health_checks(...)

Register the altered files health check.

Attributes#

logger#
find_altered_packages(prefix: str | pathlib.Path) dict[str, list[str]]#

Finds packages with altered files (checksum mismatch).

altered_files(prefix: str, verbose: bool) None#

Health check action: Report packages with altered files.

fix_altered_files(prefix: str, args: argparse.Namespace, confirm: conda.plugins.types.ConfirmCallback) int#

Fix altered files by reinstalling affected packages.

conda_health_checks() collections.abc.Iterable[conda.plugins.types.CondaHealthCheck]#

Register the altered files health check.