Merge "Add a function to check missing deps"
This commit is contained in:
commit
2259132d96
1 changed files with 6 additions and 0 deletions
|
@ -349,6 +349,8 @@ type BaseModuleContext interface {
|
|||
// is not of the appropriate type, or if the value has already been set. The value should not
|
||||
// be modified after being passed to SetProvider.
|
||||
SetProvider(provider ProviderKey, value interface{})
|
||||
|
||||
EarlyGetMissingDependencies() []string
|
||||
}
|
||||
|
||||
type DynamicDependerModuleContext BottomUpMutatorContext
|
||||
|
@ -807,6 +809,10 @@ func (m *moduleContext) GetMissingDependencies() []string {
|
|||
return m.module.missingDeps
|
||||
}
|
||||
|
||||
func (m *baseModuleContext) EarlyGetMissingDependencies() []string {
|
||||
return m.module.missingDeps
|
||||
}
|
||||
|
||||
//
|
||||
// MutatorContext
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue