code: def add(self, dist):
          
          if dist.path not in self.path:
              self.path[dist.path] = dist
              self.name.setdefault(dist.key, []).append(dist)
docs: Add a distribution to the cache.
          :param dist: The distribution to add.