Skip to main content

looks_like_uuid

Function looks_like_uuid 

Source
pub fn looks_like_uuid(s: &str) -> bool
Expand description

Check whether s looks like a UUID (8-4-4-4-12 hex pattern).

Used by parse_with_uuid_fallback to detect the convenience form socket-patch <UUID> and rewrite it to socket-patch get <UUID>.