mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #2864 from pypeclub/bugfix/create_hardlink_fix
General: Fix hardlink for windows
This commit is contained in:
commit
604df9b3a1
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ def create_hard_link(src_path, dst_path):
|
|||
res = CreateHardLink(dst_path, src_path, None)
|
||||
if res == 0:
|
||||
raise ctypes.WinError()
|
||||
return
|
||||
# Raises not implemented error if gets here
|
||||
raise NotImplementedError(
|
||||
"Implementation of hardlink for current environment is missing."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue