Remove remove_from_working_set method.

Items are only removed from the working set when it is rebuilt, so this
method is unnecessary.
This commit is contained in:
Dustin J. Mitchell
2020-11-24 13:00:42 -05:00
parent a0573e2dbe
commit fc4fcc9e5d
3 changed files with 3 additions and 140 deletions

View File

@@ -82,10 +82,8 @@ pub trait TaskStorageTxn {
/// than the highest used index.
fn add_to_working_set(&mut self, uuid: &Uuid) -> Fallible<usize>;
/// Remove a task from the working set. Other tasks' indexes are not affected.
fn remove_from_working_set(&mut self, index: usize) -> Fallible<()>;
/// Clear all tasks from the working set in preparation for a garbage-collection operation.
/// Note that this is the only way items are removed from the set.
fn clear_working_set(&mut self) -> Fallible<()>;
/// Commit any changes made in the transaction. It is an error to call this more than