mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-04 23:09:44 +01:00
ssh: makedirs before symlink
This commit is contained in:
@@ -292,8 +292,9 @@ class SSHConnection:
|
||||
def open(self, *args, **kwargs):
|
||||
return self.sftp.open(*args, **kwargs)
|
||||
|
||||
def symlink(self, *args, **kwargs):
|
||||
return self.sftp.symlink(*args, **kwargs)
|
||||
def symlink(self, src, dest):
|
||||
self.makedirs(posixpath.dirname(dest))
|
||||
self.sftp.symlink(src, dest)
|
||||
|
||||
def reflink(self, src, dest):
|
||||
self.makedirs(posixpath.dirname(dest))
|
||||
|
||||
Reference in New Issue
Block a user