mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fix hardlink for windows
This commit is contained in:
parent
ca94cf247a
commit
e61c8d992b
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