code: def format_rsync_host_path(host, path, user):
      if user:
          return f"{user}@{host}:{path}"
      return f"{host}:{path}"
  
file_path: guildai/guild/remotes/ssh_util.py
imports: import logging
  import subprocess
  from guild import remote
label_desc: Use image node_id 8 for calling a global function with example usage: format_rsync_host_path(host, path, user) and returns: host, str, path, user, str, host, str, path