def walk_project(self, project): """ Create report items for each project, folder, and files if necessary calling visit_* methods below. :param project: LocalProject project we will count items of. """ # This method will call visit_project, visit_folder, and visit_file below as it walks the project tree. ProjectWalker.walk_project(project, self)
def walk_project(self, project): """ Increment counters for each project, folder, and files calling visit methods below. :param project: LocalProject project we will count items of. """ # This method will call visit_project, visit_folder, and visit_file below as it walks the project tree. ProjectWalker.walk_project(project, self)
def run(self, local_project): """ Upload a project by uploading project, folders, and small files then uploading the large files. :param local_project: LocalProject: project to upload """ # Walk project adding small items to runner saving large items to large_items ProjectWalker.walk_project(local_project, self) # Run small items in parallel self.runner.run() # Run parts of each large item in parallel self.upload_large_items()
def walk_project(self, project): """ Calls visit_* methods of self. :param project: project we will visit children of. """ ProjectWalker.walk_project(project, self)