Exemple #1
0
 def copy_to_local(self, dst=None, dir_perm=None, **kwargs):
     if dst:
         dst = add_scheme(_local_fs.abspath(get_path(dst)), "file")
     return FileSystemFileTarget.copy_to(self,
                                         dst,
                                         dir_perm=dir_perm,
                                         **kwargs)
Exemple #2
0
 def copy_to_local(self, dst=None, perm=None, dir_perm=None, **kwargs):
     if dst:
         dst = add_scheme(self.fs.local_fs.abspath(get_path(dst)), "file")
     dst = FileSystemFileTarget.copy_to(self,
                                        dst,
                                        perm=perm,
                                        dir_perm=dir_perm,
                                        **kwargs)
     return remove_scheme(dst)