internal/lsp/source: remove unused Session method

Change-Id: I4be81fd9a450ed3991127ddc4d4186b8bcd57fba
Reviewed-on: https://go-review.googlesource.com/c/tools/+/258857
Trust: Heschi Kreinick <heschi@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
This commit is contained in:
Heschi Kreinick 2020-10-01 13:59:45 -04:00
parent 1e3611d215
commit 77e61d32f6
2 changed files with 0 additions and 7 deletions

View File

@ -255,10 +255,6 @@ func tempModFile(modFh, sumFH source.FileHandle) (tmpURI span.URI, cleanup func(
return tmpURI, cleanup, nil
}
func (v *View) Session() source.Session {
return v.session
}
// Name returns the user visible name of this view.
func (v *View) Name() string {
return v.name

View File

@ -173,9 +173,6 @@ const (
// This is the level at which we maintain configuration like working directory
// and build tags.
type View interface {
// Session returns the session that created this view.
Session() Session
// Name returns the name this view was constructed with.
Name() string