def visit_file(self, item, parent):
        """
        Increments counter if item needs to be sent.
        :param item: LocalFile
        :param parent: LocalFolder/LocalProject
        """
        if item.need_to_send:
            self.files += 1
            self.chunks += item.count_chunks(self.bytes_per_chunk)
def visit_file ( self , item , parent ) : if item . need_to_send : self . files += 1 self . chunks += item . count_chunks ( self . bytes_per_chunk )
Increments counter if item needs to be sent.
        :param item: LocalFile
        :param parent: LocalFolder/LocalProject