mirror of https://github.com/golang/go.git
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:
parent
1e3611d215
commit
77e61d32f6
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue