Another assumed btrfs fix

This commit is contained in:
Fierelier 2020-10-04 17:21:35 +02:00
parent b36ec90fea
commit 4ffb1f2f7a
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ def linkFile(src,dst,method = False):
if os.name == "nt":
global btrfsdll
if not btrfsdll: btrfsdll = ctypes.cdll.LoadLibrary("shellbtrfs.dll")
btrfsdll.ReflinkCopyW(src,dst)
btrfsdll.ReflinkCopyW(0,0,'"' +src+ '" "' +dst+ '"',1)
else:
subprocess.call(["cp","-n","--reflink=always",src,dst])
return