mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-30 22:43:24 +02:00
Centralize API for working set to a single struct
Rather than allow addressing tasks either by working set ID or uuid, with attendant performance issues, this moves the API for the working set to a single struct that just serves as a 1-1 mapping of indexes to UUIDs. It's up to the caller to use this information.
This commit is contained in:
parent
d06f2e5aeb
commit
087769146e
7 changed files with 194 additions and 116 deletions
|
@ -32,10 +32,12 @@ mod task;
|
|||
mod taskdb;
|
||||
pub mod taskstorage;
|
||||
mod utils;
|
||||
mod workingset;
|
||||
|
||||
pub use config::{ReplicaConfig, ServerConfig};
|
||||
pub use replica::Replica;
|
||||
pub use task::{Priority, Status, Tag, Task, TaskMut};
|
||||
pub use workingset::WorkingSet;
|
||||
|
||||
/// Re-exported type from the `uuid` crate, for ease of compatibility for consumers of this crate.
|
||||
pub use uuid::Uuid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue