• Ophélie Gagnard's avatar
    Add selection strategies for downloading objects. · e53bfdd6
    Ophélie Gagnard authored
    Add a default strategies that returns the first match.
    Add a most recent strategy that returns the object with the greater
    timestamp.
    Add a "version more than" strategy that returns the first match with
    versions superior to that provided. There are two varients of this one:
    "strictly more than" and "more than". Versions are required to be
    compatible with Python project's version formats define here:
    https://peps.python.org/pep-0440/
    e53bfdd6
libnetworkcache.py 21.1 KB