Skip to main content

is_stamp

Function is_stamp 

Source
pub fn is_stamp(text: &str) -> bool
Expand description

Whether text is a stamp this program wrote, at this version or any other: a name, a space, and a version (starting with a digit, as every Cargo version does), then · and a designation at the end. Surrounding white space is ignored. The pairs recognized are the ones some build wrote: NAME with DESIGNATION, and EARLIER_NAME with DESIGNATION or an earlier designation.