Function cap_primitives::fs::open
source · [−]pub fn open(start: &File, path: &Path, options: &OpenOptions) -> Result<File>
Expand description
Perform an openat
-like operation, ensuring that the resolution of the
path never escapes the directory tree rooted at start
.