Skip to main content

folders

Function folders 

Source
pub fn folders(under: &str) -> Result<Vec<String>, String>
Expand description

Folder names under under (which must lie in the person’s home): directories only, hidden ones only when under’s last part asks for them, at most MAX_FOLDERS. under may end in a partial name: the folders of its parent that start with it.

§Errors

under lies outside the home directory, or there is no home.