upstream fixes are pending for symlink_create & nofollow_errors on windows

This commit is contained in:
Pat Hickey
2021-02-02 16:16:22 -08:00
parent cd02e5a942
commit 857ef411b5
2 changed files with 4 additions and 2 deletions

View File

@@ -173,6 +173,7 @@ impl TryFrom<std::io::Error> for types::Errno {
winerror::ERROR_DIRECTORY => Some(types::Errno::Notdir),
winerror::ERROR_ALREADY_EXISTS => Some(types::Errno::Exist),
winerror::ERROR_STOPPED_ON_SYMLINK => Some(types::Errno::Loop),
winerror::ERROR_DIRECTORY_NOT_SUPPORTED => Some(types::Errno::Isdir),
_ => None,
}
}