Sha256: 2f2b371246f8e04e413839a6591c77ffce06146d7f2ce9181b77ba7826624eed
Contents?: true
Size: 335 Bytes
Versions: 39
Compression:
Stored size: 335 Bytes
Contents
use rustix::fs::symlinkat; use std::path::Path; use std::{fs, io}; /// *Unsandboxed* function similar to `symlink`, but which does not perform /// sandboxing. pub(crate) fn symlink_unchecked( old_path: &Path, new_start: &fs::File, new_path: &Path, ) -> io::Result<()> { Ok(symlinkat(old_path, new_start, new_path)?) }
Version data entries
39 entries across 39 versions & 1 rubygems