Skip to main content

audit_vault_duplicates

Function audit_vault_duplicates 

Source
pub fn audit_vault_duplicates(
    vault_dir: &Path,
) -> Result<Vec<VaultDuplicateGroup>, Error>
Expand description

Hash only same-sized GGUF candidates and report byte-identical duplicates.

Size bucketing avoids reading every multi-gigabyte model during a routine audit. Within each exact-content group the shortest, then lexicographically first, path is suggested as the canonical keeper. No filesystem mutation is performed.