+sub purge_oids {
+ my ($self, $purge) = @_; # $purge = { $object_id => 1, ... }
+ $self->done;
+ my $pfx = "$self->{-inbox}->{mainrepo}/git";
+ foreach my $i (0..$self->{max_git}) {
+ my $git = PublicInbox::Git->new("$pfx/$i.git");
+ my $im = $self->import_init($git, 0);
+ $im->purge_oids($purge);
+ }
+}
+
+sub remove_internal {
+ my ($self, $mime, $cmt_msg, $purge) = @_;