def move_to_local(self, dst=None, dir_perm=None, **kwargs): if dst: dst = add_scheme(_local_fs.abspath(get_path(dst)), "file") return FileSystemFileTarget.move_to(self, dst, dir_perm=dir_perm, **kwargs)
def move_from_local(self, src=None, perm=None, dir_perm=None, **kwargs): src = add_scheme(self.fs.local_fs.abspath(get_path(src)), "file") return FileSystemFileTarget.move_from(self, src, perm=perm, dir_perm=dir_perm, **kwargs)
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)
def copy_from_local(self, src=None, dir_perm=None, **kwargs): src = add_scheme(_local_fs.abspath(get_path(src)), "file") return FileSystemFileTarget.copy_from(self, src, dir_perm=dir_perm, **kwargs)
def move_to_local(self, dst=None, **kwargs): if dst: dst = add_scheme(self.fs.local_fs.abspath(get_path(dst)), "file") dst = FileSystemFileTarget.move_to(self, dst, **kwargs) return remove_scheme(dst)