Task management system.
Source: src/services/tasks/mod.zig
Availability: Always enabled
pub const Manager| const | source |
Task Manager - main interface for task operations
pub fn add(self: *Manager, title: []const u8, options: AddOptions) ManagerError!u64| fn | source |
Add a new task
pub fn get(self: *const Manager, id: u64) ?Task| fn | source |
Get a task by ID
pub fn setStatus(self: *Manager, id: u64, status: Status) ManagerError!void| fn | source |
Update task status
pub fn complete(self: *Manager, id: u64) ManagerError!void| fn | source |
Mark task as completed
pub fn start(self: *Manager, id: u64) ManagerError!void| fn | source |
Mark task as in progress
pub fn cancel(self: *Manager, id: u64) ManagerError!void| fn | source |
Cancel a task
pub fn delete(self: *Manager, id: u64) ManagerError!void| fn | source |
Delete a task
pub fn setDueDate(self: *Manager, id: u64, due_date: ?i64) ManagerError!void| fn | source |
Set due date for a task
pub fn setBlockedBy(self: *Manager, id: u64, blocker_id: ?u64) ManagerError!void| fn | source |
Set task as blocked by another task
pub fn setPriority(self: *Manager, id: u64, priority: Priority) ManagerError!void| fn | source |
Update task priority
pub fn setCategory(self: *Manager, id: u64, category: Category) ManagerError!void| fn | source |
Update task category
pub fn setTitle(self: *Manager, id: u64, title: []const u8) ManagerError!void| fn | source |
Update task title
pub fn setDescription(self: *Manager, id: u64, description: ?[]const u8) ManagerError!void| fn | source |
Update task description
pub fn list(self: *const Manager, allocator: std.mem.Allocator, filter: Filter) ManagerError![]Task| fn | source |
List tasks with optional filter and sorting
pub fn getStats(self: *const Manager) Stats| fn | source |
Get statistics
pub fn save(self: *Manager) ManagerError!void| fn | source |
Save tasks to file
pub fn load(self: *Manager) ManagerError!void| fn | source |
Load tasks from file
pub fn importRoadmap(self: *Manager) !usize| fn | source |
Import all roadmap items as tasks
Generated automatically by zig build gendocs
Use the $zig Codex skill for ABI Zig 0.16-dev syntax updates, modular build graph guidance, and targeted validation workflows.