Skip to main content

KernelDB.report_duplicates()

Find and report kernels that exist in multiple locations.

Usage

Source

KernelDB.report_duplicates(min_copies=2)

With a console, a summary panel and the first 30 duplicated kernels are printed.

Parameters

min_copies: int = 2
The minimum number of locations for a kernel to be reported.

Returns

list[dict]
One dict per kernel, largest first, with the keys sha256, filename, size_bytes, count, paths, missions and wasted_bytes.