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// sumFile holds all of the information we know about a sum file. 13type sumFile struct { 14 fileBase 15} 16 17func (*sumFile) GetToken(context.Context) *token.File { return nil } 18func (*sumFile) setContent(content []byte) {} 19func (*sumFile) filename() string { return "" } 20func (*sumFile) isActive() bool { return false } 21