/// Writes the report in `fdupes` compatible format.
/// This is very similar to the TEXT format, but there are no headers
/// for each group, and groups are separated with empty lines.
Writes the report in `fdupes` compatible format.
This is very similar to the TEXT format, but there are no headers
for each group, and groups are separated with empty lines.
Writes the report in ` fdupes ` compatible format . This is very similar to the TEXT format but there are no headers for each group and groups are separated with empty lines .
pub fn write_as_fdupes<I, G, P>(&mut self, _header: &ReportHeader, groups: I) -> io::Result<()>
    where
        I: IntoIterator<Item = G>,
        G: Borrow<FileGroup<P>>,
        P: Display,
    {
        for g in groups {
            let g = g.borrow();
            for f in g.files.iter() {
                writeln!(self.out, "{}", f)?;
            }
            writeln!(self.out)?;
        }
        Ok(())
    }
pub fn write_as_fdupes < I , G , P > ( & mut self , _header : & ReportHeader , groups : I ) -> io :: Result < ( ) > where I : IntoIterator < Item = G > , G : Borrow < FileGroup < P > > , P : Display , { for g in groups { let g = g . borrow ( ) ; for f in g . files . iter ( ) { writeln ! ( self out " " f ) ? ; } writeln ! ( self out ) ? ; } Ok ( ( ) ) }
Writes the report in `fdupes` compatible format.
Writes the report in ` fdupes ` compatible format .
&mut self
_header
&ReportHeader
groups
I