code: def generate_cache_path(path):
      
      logger.debug(f"Generating cache for {path}")
      sha = hashlib.sha1(str(path).encode()).hexdigest()[:9]
      HOME = pathlib.Path.home()
      cache_path = str(HOME / ".wily" / sha)
      logger.debug(f"Cache path is {cache_path}")
      return cache_path
docs: Generate a reusable path to cache results.
  
      Will use the --path of the target and hash into
      a 9-character directory within the HOME folder.
  
      :return: The cache path
      :rtype: ``str``