Function run_path_with_cstr

Source
pub fn run_path_with_cstr<T>(
    path: &Path,
    f: &dyn Fn(&CStr) -> Result<T>,
) -> Result<T>