use std::path::PathBuf;

use crate::file_descriptor::FileDescriptor;
use rustc_hash::FxHashSet;

#[derive(Debug, Eq, PartialEq)]
pub struct FileDescriptorWithPaths {
    pub file_descriptor: FileDescriptor,
    pub paths: FxHashSet<PathBuf>,
}

#[derive(Debug, Eq, PartialEq)]
pub struct Duplicate {
    pub locations: Vec<FileDescriptorWithPaths>,
    pub file_size: u64,
}
