Skip to main content

open_dir

Function open_dir 

Source
fn open_dir(fs: &Fs, guest: &[u8]) -> Result<Option<Arc<OwnedFd>>, i32>
Expand description

Opens the canonical guest directory guest from the mount point it lies under.

Each component below the mount point is a directory the walk already resolved, so one that is a symlink now was swapped in since: that is a RETRY, as the walk must resolve it in the guest namespace.

ยงReturns

None when the mount point has no host side yet (textual lookups).