mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-15 00:50:22 -06:00
There are probably still a lot of variable names and comments to fix, but this updates all the Go code. Towards #441
16 lines
318 B
Go
16 lines
318 B
Go
package types
|
|
|
|
import (
|
|
"github.com/attic-labs/noms/ref"
|
|
)
|
|
|
|
// Value is implemented by every noms value
|
|
type Value interface {
|
|
Equals(other Value) bool
|
|
Ref() ref.Ref
|
|
// Returns the immediate children of this value in the DAG, if any, not including Type().
|
|
ChildValues() []Value
|
|
Chunks() []ref.Ref
|
|
Type() Type
|
|
}
|