1
0
mirror of https://github.com/golang/go synced 2024-11-21 13:24:40 -07:00

suffixarray: rename Data() -> Bytes()

R=rsc
CC=golang-dev
https://golang.org/cl/3540042
This commit is contained in:
Robert Griesemer 2010-12-14 10:22:00 -08:00
parent d7340d9c20
commit 3fb6d62e3a

View File

@ -49,10 +49,10 @@ func New(data []byte) *Index {
}
// Data returns the data over which the index was created.
// Bytes returns the data over which the index was created.
// It must not be modified.
//
func (x *Index) Data() []byte {
func (x *Index) Bytes() []byte {
return x.data
}