~jameinel/juju-core/reflect-registry

Viewing all changes in revision 2724.

  • Committer: John Arbash Meinel
  • Date: 2014-05-11 07:41:33 UTC
  • Revision ID: john@arbash-meinel.com-20140511074133-u33zn68dog2hb36i
Switch to returning all known versions.

The returned slice is sorted, so if we wanted just Min and Max, you can always
use [0] and [len(slice)-1] to get the min and max.
It also is easy with a sorted slice to check if there are any gaps.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: