/usr/share/gocode/src/github.com/influxdata/influxdb/tsdb/cursor.go is in golang-github-influxdb-influxdb-dev 1.0.2+dfsg1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | package tsdb
import "github.com/influxdata/influxdb/influxql"
// EOF represents a "not found" key returned by a Cursor.
const EOF = influxql.ZeroTime
// Cursor represents an iterator over a series.
type Cursor interface {
SeekTo(seek int64) (key int64, value interface{})
Next() (key int64, value interface{})
Ascending() bool
}
|