Sha256: 477217babcc9076152bf034bb111fb31ccce2391fa7dfeba83511c0031e87ad1
Contents?: true
Size: 312 Bytes
Versions: 37
Compression:
Stored size: 312 Bytes
Contents
use rustix::fs::{unlinkat, AtFlags}; use std::path::Path; use std::{fs, io}; /// *Unsandboxed* function similar to `remove_dir`, but which does not perform /// sandboxing. pub(crate) fn remove_dir_unchecked(start: &fs::File, path: &Path) -> io::Result<()> { Ok(unlinkat(start, path, AtFlags::REMOVEDIR)?) }
Version data entries
37 entries across 37 versions & 1 rubygems