Skip to main content

open_host_subdir

Function open_host_subdir 

Source
pub fn open_host_subdir(volume: &Path, sub: &Path) -> Result<Option<Arc<Dir>>>
Expand description

Opens the directory sub below the host directory volume, one component at a time without following links, so a link anywhere in sub is an error. None when a component is not there. sub must be relative with no . or ...