Revert changes to singleton_ctx.go

This commit is contained in:
c-parsons 2020-05-27 21:34:26 -04:00 committed by GitHub
parent 8690f8f196
commit 01e094f1b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -147,10 +147,6 @@ type SingletonContext interface {
// Fs returns a pathtools.Filesystem that can be used to interact with files. Using the Filesystem interface allows // Fs returns a pathtools.Filesystem that can be used to interact with files. Using the Filesystem interface allows
// the singleton to be used in build system tests that run against a mock filesystem. // the singleton to be used in build system tests that run against a mock filesystem.
Fs() pathtools.FileSystem Fs() pathtools.FileSystem
// ModuleListFile returns a string representation of the path to the file
// which lists blueprint files to parse.
ModuleListFile() string
} }
var _ SingletonContext = (*singletonContext)(nil) var _ SingletonContext = (*singletonContext)(nil)
@ -354,7 +350,3 @@ func (s *singletonContext) GlobWithDeps(pattern string,
func (s *singletonContext) Fs() pathtools.FileSystem { func (s *singletonContext) Fs() pathtools.FileSystem {
return s.context.fs return s.context.fs
} }
func (s *singletonContext) ModuleListFile() string {
return s.context.moduleListFile
}