(
target: &Path,
destination: &Path,
_source: &Path,
)
| 5295 | |
| 5296 | #[cfg(unix)] |
| 5297 | fn create_symlink( |
| 5298 | target: &Path, |
| 5299 | destination: &Path, |
| 5300 | _source: &Path, |
| 5301 | ) -> Result<(), RepositoryError> { |
| 5302 | std::os::unix::fs::symlink(target, destination).map_err(RepositoryError::Io) |
| 5303 | } |
| 5304 | |
| 5305 | #[cfg(windows)] |
| 5306 | fn create_symlink(target: &Path, destination: &Path, source: &Path) -> Result<(), RepositoryError> { |
no test coverage detected