code: def resource_get(self, resource_name):
          
          try:
              with self._resource_lock:
                  res = self._resources[resource_name]
          except KeyError:
              return {}
          return res
docs: Return resource info
  
          :param resource_name: Resource name as returned by resource_get_list()
          :type resource_name: str
          :return: Resource information (empty if not found)
              name: Resource name
              hash: Resource hash
              path: Path to resource
              checked: Last time information was updated
          :rtype: dict[str, str]