diff --git a/swh/loader/git/from_disk.py b/swh/loader/git/from_disk.py --- a/swh/loader/git/from_disk.py +++ b/swh/loader/git/from_disk.py @@ -280,15 +280,6 @@ self.snapshot = Snapshot(branches=branches) return self.snapshot - def get_fetch_history_result(self): - """Return the data to store in fetch_history for the current loader""" - return { - "contents": len(self.type_to_ids[b"blob"]), - "directories": len(self.type_to_ids[b"tree"]), - "revisions": len(self.type_to_ids[b"commit"]), - "releases": len(self.type_to_ids[b"tag"]), - } - def save_data(self): """We already have the data locally, no need to save it""" pass diff --git a/swh/loader/git/loader.py b/swh/loader/git/loader.py --- a/swh/loader/git/loader.py +++ b/swh/loader/git/loader.py @@ -492,14 +492,6 @@ self.snapshot = Snapshot(branches=branches) return self.snapshot - def get_fetch_history_result(self) -> Dict[str, int]: - return { - "contents": len(self.type_to_ids[b"blob"]), - "directories": len(self.type_to_ids[b"tree"]), - "revisions": len(self.type_to_ids[b"commit"]), - "releases": len(self.type_to_ids[b"tag"]), - } - def load_status(self) -> Dict[str, Any]: """The load was eventful if the current snapshot is different to the one we retrieved at the beginning of the run"""