func (ms *memoryRootTracker) UpdateRoot(current, last ref.Ref) bool { if last != ref.Ref(*ms) { return false } *ms = memoryRootTracker(current) return true }
func (ms *memoryRootTracker) Root() ref.Ref { return ref.Ref(*ms) }