Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunGenCommitMsg ¶
Types ¶
type CommitMsg ¶ added in v0.0.9
func SanitizeOrError ¶ added in v0.0.63
SanitizeOrError runs Sanitize and returns an error when the message is rejected.
type GenerateOptions ¶
type SanitizeResult ¶ added in v0.0.63
SanitizeResult is the structured outcome of post-parse commit message sanitization.
func Sanitize ¶ added in v0.0.63
func Sanitize(raw string) SanitizeResult
Sanitize applies post-parse anti-pattern cleanup to agent commit-message text. On success returns a usable CommitMsg. On unusable garbage returns Rejected=true.
Click to show internal directories.
Click to hide internal directories.