Documentation ¶
Overview ¶
Package completeset manages complete set of blob metadata.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExcludeIncomplete ¶
ExcludeIncomplete removes from the provided slice any blobs that are part of incomplete sets.
func FindAll ¶
FindAll returns a list of complete sets in the provided slice, grouped by set ID. Blobs that are not in any set are also returned.
func FindFirst ¶
FindFirst looks for a first complete set of blobs IDs following a naming convention:
'<any>-s<set>-c<count>'
where:
'prefix' is arbitrary string not containing a dash ('-') 'set' is a random string shared by all indexes in the same set 'count' is a number that specifies how many items must be in the set to make it complete.
The algorithm returns IDs of blobs that form the first complete set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.