debian_inspector.coverage module

class debian_inspector.coverage.Coverage(paragraphs, directory)

Bases: object

Helper to compute the “coverage” of a copyright file “files” paragraph. This is used to check if all files in a directory are referenced by a one of the patterns in a “files” field.

compute()

Compute the coverage and update self.

is_perfect()