File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ package godoc
6
6
7
7
import (
8
8
"errors"
9
- pathpkg "path"
10
9
"sync"
11
10
"time"
12
11
@@ -87,8 +86,6 @@ type Corpus struct {
87
86
// If nil, all directories are indexed if indexing is enabled.
88
87
IndexDirectory func (dir string ) bool
89
88
90
- testDir string // TODO(bradfitz,adg): migrate old godoc flag? looks unused.
91
-
92
89
// Send a value on this channel to trigger a metadata refresh.
93
90
// It is buffered so that if a signal is not lost if sent
94
91
// during a refresh.
@@ -158,7 +155,7 @@ func (c *Corpus) Init() error {
158
155
}
159
156
160
157
func (c * Corpus ) initFSTree () error {
161
- dir := c .newDirectory (pathpkg . Join ( "/" , c . testDir ) , - 1 )
158
+ dir := c .newDirectory ("/" , - 1 )
162
159
if dir == nil {
163
160
return errors .New ("godoc: corpus fstree is nil" )
164
161
}
You can’t perform that action at this time.
0 commit comments