def delete_before(self, segment_info):
<EOL>self._delete_base_backups_before(segment_info)<EOL>self._delete_wals_before(segment_info)<EOL>if self.deleter:<EOL><INDENT>self.deleter.close()<EOL><DEDENT>
Delete all base backups and WAL before a given segment

This is the most commonly-used deletion operator; to delete
old backups and WAL.