Rename replica.gc to replica.rebuild_working_set
The command-line operation is still `gc`, but we'll break that down into finer pieces in the replica.
This commit is contained in:
@@ -3,7 +3,8 @@ use taskchampion::Replica;
|
||||
use termcolor::WriteColor;
|
||||
|
||||
pub(crate) fn execute<W: WriteColor>(w: &mut W, replica: &mut Replica) -> Fallible<()> {
|
||||
replica.gc()?;
|
||||
log::debug!("rebuilding working set");
|
||||
replica.rebuild_working_set()?;
|
||||
writeln!(w, "garbage collected.")?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user