Skip to main content

bare_pathbuf_random_length

Function bare_pathbuf_random_length 

pub fn bare_pathbuf_random_length(min: u8) -> impl Strategy<Value = PathBuf>
Expand description

Generate a PathBuf of random length, but at least min components.

The returned PathBuf will always have at least one component, regardless of min.

All components of the path will be valid bare identifiers.