Another assumed btrfs fix
This commit is contained in:
parent
b36ec90fea
commit
4ffb1f2f7a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue