Skip to main content

KernelDB.prune()

Remove stale locations where the file no longer exists on disk.

Usage

Source

KernelDB.prune(dry_run=True)

Also removes kernels that have zero remaining locations after pruning.

Parameters

dry_run

If True (default), only report what would be removed.

Returns

List of pruned abs_path strings.