# Functions
DefaultDir returns the default cache directory for the current OS.
New returns a new cache for the repo ID at basedir.
Old returns a list of cache directories with a modification time of more than 30 days ago.
TestNewCache returns a cache in a temporary directory which is removed when cleanup is called.