1// Copyright 2019 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 5package cache 6 7import ( 8 "context" 9 "go/token" 10) 11 12// modFile holds all of the information we know about a mod file. 13type modFile struct { 14 fileBase 15} 16 17func (*modFile) GetToken(context.Context) *token.File { return nil } 18func (*modFile) setContent(content []byte) {} 19func (*modFile) filename() string { return "" } 20func (*modFile) isActive() bool { return false } 21