<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _GetDisplayPath(self, path_spec, full_path, data_stream_name):
 """Retrieves a path to display. Args: path_spec (dfvfs.PathSpec):
 path specification of the file entry. full_path (str):
 full path of the file entry. data_stream_name (str):
 name of the data stream. Returns: str: path to display. """

    display_path = ''

    if path_spec.HasParent():
      parent_path_spec = path_spec.parent
      if parent_path_spec and parent_path_spec.type_indicator == (
          dfvfs_definitions.TYPE_INDICATOR_TSK_PARTITION):
        display_path = ''.join([display_path, parent_path_spec.location])

    display_path = ''.join([display_path, full_path])
    if data_stream_name:
      display_path = ':'.join([display_path, data_stream_name])

    return display_path