Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseIssueType ¶
ParseIssueType extracts and validates an issue type from content. Returns the validated type or error if invalid.
func ParsePriority ¶
ParsePriority extracts and validates a priority value from content. Supports both numeric (0-4) and P-prefix format (P0-P4). Returns the parsed priority (0-4) or -1 if invalid.
func ValidateIDFormat ¶
ValidateIDFormat validates that an ID has the correct format. Supports: prefix-number (bd-42), prefix-hash (bd-a3f8e9), or hierarchical (bd-a3f8e9.1) Returns the prefix part or an error if invalid.
func ValidatePrefix ¶
ValidatePrefix checks that the requested prefix matches the database prefix. Returns an error if they don't match (unless force is true).
func ValidatePriority ¶
ValidatePriority parses and validates a priority string. Returns the parsed priority (0-4) or an error if invalid. Supports both numeric (0-4) and P-prefix format (P0-P4).
Types ¶
This section is empty.