code: def _cloud_status(
      self,
      targets=None,
      jobs=None,
      remote=None,
      all_branches=False,
      with_deps=False,
      all_tags=False,
      recursive=False,
      all_commits=False,
  ):
      """Returns a dictionary with the files that are new or deleted.
  
      - new: Remote doesn't have the file
      - deleted: File is no longer in the local cache
      - missing: File doesn't exist neither in the cache, neither in remote
  
      Example:
              Given the following commands:
  
              $ echo "foo" > foo
              $ echo "bar" > bar
              $ dvc add foo bar
              $ dvc status -c
  
              It will return something like:
  
              { "foo": "new", "bar": "new" }
  
              Now, after pushing and removing "bar" from the local cache:
  
              $ dvc push
              $ rm .dvc/cache/c1/57a79031e1c40f85931829bc5fc552
  
              The result would be:
  
              { "bar": "deleted" }
      """
      used = self.used_objs(
          targets,
          all_branches=all_branches,
          all_tags=all_tags,
          all_commits=all_commits,
          with_deps=with_deps,
          force=True,
          remote=remote,
          jobs=jobs,
          recursive=recursive,
          push=True,
      )
  
      ret = {}
      for odb, obj_ids in used.items():
          if odb is not None:
              # ignore imported objects
              continue
          status_info = self.cloud.status(obj_ids, jobs, remote=remote)
          for status_ in ("deleted", "new", "missing"):
              for hash_info in getattr(status_info, status_, []):
                  ret[hash_info.obj_name] = status_
  
      return ret
  
file_path: dvc/dvc/repo/status.py
imports: from itertools import chain, compress
  from dvc.exceptions import InvalidArgumentError
  from dvc.log import logger
  from .None import locked
label_desc: Use image node_id 3 for calling a global function with example usage: _cloud_status(targets, jobs, remote, all_branches, with_deps, all_tags, recursive, all_commits) and returns: ret