mirror of
https://github.com/golang/go
synced 2024-11-19 00:54:42 -07:00
17 lines
416 B
Go
17 lines
416 B
Go
|
package cache
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"go/token"
|
||
|
)
|
||
|
|
||
|
// modFile holds all of the information we know about a mod file.
|
||
|
type modFile struct {
|
||
|
fileBase
|
||
|
}
|
||
|
|
||
|
func (*modFile) GetToken(context.Context) *token.File { return nil }
|
||
|
func (*modFile) setContent(content []byte) {}
|
||
|
func (*modFile) filename() string { return "" }
|
||
|
func (*modFile) isActive() bool { return false }
|