Skip to main content

complete_path

Function complete_path 

Source
pub fn complete_path(typed: &str) -> (String, usize)
Expand description

Complete a partly typed path against its directory: the longest unambiguous extension of typed and the candidate count. Reads a directory, so only on a worker.