mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 23:10:24 +01:00
+3
-2
@@ -357,8 +357,9 @@ class RemoteLOCAL(RemoteBase):
|
||||
self.safe_remove({'scheme': 'local', 'path': file}, force=force)
|
||||
|
||||
def _move(self, inp, outp):
|
||||
# moving in two stages to make last the move atomic in
|
||||
# case inp and outp are in different filesystems
|
||||
# moving in two stages to make the whole operation atomic in
|
||||
# case inp and outp are in different filesystems and actual
|
||||
# physical copying of data is happening
|
||||
tmp = '{}.{}'.format(outp, str(uuid.uuid4()))
|
||||
move(inp, tmp)
|
||||
move(tmp, outp)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
azure-storage-blob==1.3.0
|
||||
boto3==1.7.4
|
||||
boto3==1.9.86
|
||||
ply>=3.9 # See https://github.com/pyinstaller/pyinstaller/issues/1945
|
||||
configparser>=3.5.0
|
||||
zc.lockfile>=1.2.1
|
||||
|
||||
Reference in New Issue
Block a user