Skip to main content

Module task

Module task 

Source
Expand description

The task model, its query filters, and name normalization.

use kasl::libs::task::Task;

let task = Task::new(
    "Implement user authentication",
    "Add OAuth2 integration with Google and GitHub",
    Some(25)
);

Structs§

Task
A single work item.

Enums§

TaskFilter
Filtering criteria for task queries.

Traits§

FormatTasks
Display formatting and partitioning for task collections.

Functions§

collapse_whitespace
Replaces newlines and other whitespace runs with single spaces and trims.
is_ignored_name
Returns true when name matches an ignore pattern exactly or by prefix (after normalization). Used for task discovery filtering.
normalize_task_name
Normalizes a task/commit name for near-duplicate and ignore-list comparison.