use super::get_path::concatenate;
use std::path::Path;
use std::{fs, io};
pub(crate) fn symlink_file_unchecked(
old_path: &Path,
new_start: &fs::File,
new_path: &Path,
) -> io::Result<()> {
let new_full_path = concatenate(new_start, new_path)?;
std::os::windows::fs::symlink_file(old_path, new_full_path)
}
pub(crate) fn symlink_dir_unchecked(
old_path: &Path,
new_start: &fs::File,
new_path: &Path,
) -> io::Result<()> {
let new_full_path = concatenate(new_start, new_path)?;
std::os::windows::fs::symlink_dir(old_path, new_full_path)
}