Skip to main content

ask

Function ask 

Source
pub fn ask<R: BufRead, W: Write>(
    default: &Path,
    input: &mut R,
    output: &mut W,
) -> Result<PathBuf>
Expand description

The prompt itself, with I/O injected so it can be tested without a terminal.