cap-primitives 4.0.1

Capability-based primitives
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::fs::{open_impl, OpenOptions};
use std::ffi::OsStr;
use std::{fs, io};

#[inline(always)]
pub(crate) fn open_entry_impl(
    start: &fs::File,
    path: &OsStr,
    options: &OpenOptions,
) -> io::Result<fs::File> {
    open_impl(start, path.as_ref(), options)
}