mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-22 11:13:09 +02:00
Make a public method
This commit is contained in:
parent
e3f438d9fa
commit
e2e0951c81
1 changed files with 4 additions and 1 deletions
|
@ -47,7 +47,10 @@ impl Replica {
|
|||
/// Update an existing task. If the value is Some, the property is added or updated. If the
|
||||
/// value is None, the property is deleted. It is not an error to delete a nonexistent
|
||||
/// property.
|
||||
pub(crate) fn update_task<S1, S2>(
|
||||
///
|
||||
/// This is a low-level method, and requires knowledge of the Task data model. Prefer to
|
||||
/// use the [`TaskMut`] methods to modify tasks, where possible.
|
||||
pub fn update_task<S1, S2>(
|
||||
&mut self,
|
||||
uuid: Uuid,
|
||||
property: S1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue