Files
dolt/types/value.go
Chris Masone eda9b92870 Rename types.TypeRef to types.Type
There are probably still a lot of variable names and comments to fix,
but this updates all the Go code.

Towards #441
2015-11-09 08:26:32 -08:00

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
}