fn is_single_chunk(&self, fc: &FileChunk) -> bool {
        let mut count: usize = 0;
        for cf in self.files_changed.iter().into_iter() {
            for c in cf.values() {
                if c.local_path == fc.local_path {
                    count += 1;
                }
            }
        }
        if count > 1 {
            return false;
        }
        true
    }
// Checks if a certain file backed up in a specific run
// was split into a single or multiple chunks.
Checks if a certain file backed up in a specific run
was split into a single or multiple chunks.
Checks if a certain file backed up in a specific run was split into a single or multiple chunks .
fn is_single_chunk(&self, fc: &FileChunk) -> bool {
        let mut count: usize = 0;
        for cf in self.files_changed.iter().into_iter() {
            for c in cf.values() {
                if c.local_path == fc.local_path {
                    count += 1;
                }
            }
        }
        if count > 1 {
            return false;
        }
        true
    }
fn is_single_chunk ( & self , fc : & FileChunk ) -> bool { let mut count : usize = 0 ; for cf in self . files_changed . iter ( ) . into_iter ( ) { for c in cf . values ( ) { if c . local_path == fc . local_path { count += 1 ; } } } if count > 1 { return false ; } true }
Checks if a certain file backed up in a specific run
was split into a single or multiple chunks.
Checks if a certain file backed up in a specific run was split into a single or multiple chunks .
&self
fc
&FileChunk
&self
fc
&FileChunk