Skip to main content

is_version

Function is_version 

Source
pub fn is_version(v: &str) -> bool
Expand description

Whether v is a version as borg writes one: it reads as one (parse), holds only version characters ([A-Za-z0-9.+-]) and at most VERSION_CHARS of them. A release tag becomes part of a download URL and a path; a member’s hello (protocol.rs PeerVersion::clean) is shown to drones.