Skip to main content

classify

Function classify 

Source
pub fn classify(message: &[u8]) -> Classification
Available on crate feature vcs-git only.
Expand description

Classify a raw commit message.

The message is matched lossily as UTF-8 — classification is a heuristic over human-readable prose, never an identifier, so a non-UTF-8 byte degrading to U+FFFD cannot corrupt downstream state.