mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-26 10:37:04 -06:00
explicit collection types (#3683)
This commit is contained in:
@@ -8,7 +8,7 @@ import "github.com/attic-labs/noms/go/d"
|
||||
|
||||
type listLeafSequence struct {
|
||||
leafSequence
|
||||
values []Value
|
||||
values ValueSlice
|
||||
}
|
||||
|
||||
func newListLeafSequence(vrw ValueReadWriter, v ...Value) sequence {
|
||||
|
||||
@@ -8,7 +8,7 @@ import "github.com/attic-labs/noms/go/d"
|
||||
|
||||
type mapLeafSequence struct {
|
||||
leafSequence
|
||||
data []mapEntry // sorted by entry.key.Hash()
|
||||
data mapEntrySlice // sorted by entry.key.Hash()
|
||||
}
|
||||
|
||||
type mapEntry struct {
|
||||
|
||||
@@ -8,7 +8,7 @@ import "github.com/attic-labs/noms/go/d"
|
||||
|
||||
type setLeafSequence struct {
|
||||
leafSequence
|
||||
data []Value // sorted by Hash()
|
||||
data ValueSlice // sorted by Hash()
|
||||
}
|
||||
|
||||
func newSetLeafSequence(vrw ValueReadWriter, v ...Value) orderedSequence {
|
||||
|
||||
Reference in New Issue
Block a user