Sha256: 387d7dcc8412051ab51c40ef4abcc388f64568b3e200bbdfaf849852fb1d2bfa
Contents?: true
Size: 503 Bytes
Versions: 39
Compression:
Stored size: 503 Bytes
Contents
use super::get_path::concatenate; use crate::fs::DirOptions; use std::path::Path; use std::{fs, io}; /// *Unsandboxed* function similar to `create_dir`, but which does not perform /// sandboxing. /// /// Windows doesn't have any extra flags in `DirOptions`, so the `options` /// parameter is ignored. pub(crate) fn create_dir_unchecked( start: &fs::File, path: &Path, _options: &DirOptions, ) -> io::Result<()> { let out_path = concatenate(start, path)?; fs::create_dir(out_path) }
Version data entries
39 entries across 39 versions & 1 rubygems