Sha256: 382f6fea644f0220d4fb45f14655da3e7fbbdf917ad2ed984e90e243e78b1931
Contents?: true
Size: 338 Bytes
Versions: 37
Compression:
Stored size: 338 Bytes
Contents
use super::get_path::concatenate; use std::path::Path; use std::{fs, io}; /// *Unsandboxed* function similar to `remove_file`, but which does not perform /// sandboxing. pub(crate) fn remove_file_unchecked(start: &fs::File, path: &Path) -> io::Result<()> { let full_path = concatenate(start, path)?; fs::remove_file(full_path) }
Version data entries
37 entries across 37 versions & 1 rubygems