Skip to main content

constant_pathbuf

Function constant_pathbuf 

Source
pub fn constant_pathbuf(min: u8, max: u8) -> impl Strategy<Value = PathBuf>
Expand description

A strategy to produce a PathBuf of between min and max prefix components (either bare or quoted), with a constant identifier as the last component.

The returned PathBuf will always have at least one component