From: Robert Griesemer Date: Tue, 14 Dec 2010 18:22:00 +0000 (-0800) Subject: suffixarray: rename Data() -> Bytes() X-Git-Tag: weekly.2010-12-15~24 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3fb6d62e3af7f5d0df4ec9b41cabfc7f5b6bec10;p=gostls13.git suffixarray: rename Data() -> Bytes() R=rsc CC=golang-dev https://golang.org/cl/3540042 --- diff --git a/src/pkg/index/suffixarray/suffixarray.go b/src/pkg/index/suffixarray/suffixarray.go index 0a8d9e2cb8..9dec943d57 100644 --- a/src/pkg/index/suffixarray/suffixarray.go +++ b/src/pkg/index/suffixarray/suffixarray.go @@ -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 }