This file is indexed.

/usr/share/gocode/src/github.com/go-redis/redis/redis_no_context.go is in golang-github-go-redis-redis-dev 6.9.2-2.

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
14
15
16
17
18
// +build !go1.7

package redis

import (
	"github.com/go-redis/redis/internal/pool"
)

type baseClient struct {
	connPool pool.Pooler
	opt      *Options

	process           func(Cmder) error
	processPipeline   func([]Cmder) error
	processTxPipeline func([]Cmder) error

	onClose func() error // hook called when client is closed
}