Debian Codegraph @

internal/modindex/export_test.go

raw symbols SCIP
1 // Copyright 2025 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package modindexscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/modindex`/
6
7 // backdoors for tests
8
9 var Uniquifyscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/modindex`/Uniquify. = uniquifyscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/modindex`/uniquify().
10
11 // Create always creates a new index for the
12 // specified Go module cache directory.
13 // On success it returns the current index.
14 func Createscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/modindex`/Create().(gomodcache string) (*Indexscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/modindex`/Index#, error) {
15 return updatescip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/modindex`/update().(gomodcache, nil)
16 }