becky_cli/becky/providers/s3_provider.py
def _restore_file(self, backup_file, restored_file):
        """
        Restores a single file from the S3 storage to the given path.
        """
        if backup_file['type'] == 'directory':
            if not os.path.exists(restored_file):
                os.makedirs(restored_file)
        else:
            result, err = self._run_command(['get', backup_file['path'], restored_file])

        Restores a single file from the S3 storage to the given path.
        
Restores a single file from the S3 storage to the given path.
Restores a single file from the S3 storage to the given path .
def _restore_file(self, backup_file, restored_file):
        if backup_file['type'] == 'directory':
            if not os.path.exists(restored_file):
                os.makedirs(restored_file)
        else:
            result, err = self._run_command(['get', backup_file['path'], restored_file])
def _restore_file ( self , backup_file , restored_file ) : if backup_file [ 'type' ] == 'directory' : if not os . path . exists ( restored_file ) : os . makedirs ( restored_file ) else : result , err = self . _run_command ( [ 'get' , backup_file [ 'path' ] , restored_file ] )
Restores a single file from the S3 storage to the given path.
Restores a single file from the S3 storage to the given path .
"""
        Restores a single file from the S3 storage to the given path.
        """
self
backup_file
restored_file