mirror of
https://github.com/minio/minio.git
synced 2026-11-21 15:08:19 +00:00
Update comments across the codebase
This commit is contained in:
1 parent
137584d658
commit
3a3c8645fc
24 files changed
+198
-346
No files matched your search
@@ -56,8 +56,13 @@ func generateBucketsListResult(buckets []mstorage.BucketMetadata) BucketListResp
|
||||
|
||||
type ItemKey []*Item
|
||||
|
||||
func (b ItemKey) Len() int { return len(b) }
|
||||
func (b ItemKey) Swap(i, j int) { b[i], b[j] = b[j], b[i] }
|
||||
// Len
|
||||
func (b ItemKey) Len() int { return len(b) }
|
||||
|
||||
// Swap
|
||||
func (b ItemKey) Swap(i, j int) { b[i], b[j] = b[j], b[i] }
|
||||
|
||||
// Less
|
||||
func (b ItemKey) Less(i, j int) bool { return b[i].Key < b[j].Key }
|
||||
|
||||
// takes a set of objects and prepares the objects for serialization
|
||||
|
||||
Reference in new issue
Block a user