mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-31 03:18:43 -06:00
22 lines
254 B
Go
22 lines
254 B
Go
package types
|
|
|
|
import (
|
|
"github.com/attic-labs/noms/ref"
|
|
)
|
|
|
|
type Ref struct {
|
|
R ref.Ref
|
|
}
|
|
|
|
func (r Ref) Equals(other Value) bool {
|
|
return r.R == other.Ref()
|
|
}
|
|
|
|
func (r Ref) Ref() ref.Ref {
|
|
return r.R
|
|
}
|
|
|
|
func (r Ref) Chunks() []Future {
|
|
return nil
|
|
}
|