Skip to content

Commit

Permalink
Temporarily make get_task_operations non-public (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche authored Oct 8, 2024
1 parent b23fa8f commit 8f3914b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion taskchampion/src/replica.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,13 @@ impl Replica {
/// Note: the returned set of operations is not guaranteed to be sufficient to reconstruct the
/// task; that is, it may not begin with a `Create` operation. This can occur if the task was
/// created using a TaskChampion version before 0.8.0 or if older operations have been deleted.
pub fn get_task_operations(&mut self, uuid: Uuid) -> Result<Operations> {
///
/// This function was introduced in
/// [#373](https://github.com/GothenburgBitFactory/taskchampion/issues/373) but removed from
/// the public API until it actually returns _all_ task operations, and not just local
/// operations since the last sync.
#[allow(dead_code)]
pub(crate) fn get_task_operations(&mut self, uuid: Uuid) -> Result<Operations> {
self.taskdb.get_task_operations(uuid)
}

Expand Down

0 comments on commit 8f3914b

Please sign in to comment.