mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-23 23:09:44 +01:00
remote: local: protect uploaded files (#3858)
This commit is contained in:
@@ -298,6 +298,8 @@ class LocalRemote(BaseRemote):
|
||||
copyfile(
|
||||
from_file, tmp_file, name=name, no_progress_bar=no_progress_bar
|
||||
)
|
||||
|
||||
self.protect(tmp_file)
|
||||
os.rename(tmp_file, to_info)
|
||||
|
||||
def _download(
|
||||
|
||||
Reference in New Issue
Block a user