modules: Add module.import.noMounts config

Fixes #8708
This commit is contained in:
Bjørn Erik Pedersen
2021-06-28 10:39:52 +02:00
parent 3a6dc6d3f4
commit 40dfdd0952
3 changed files with 12 additions and 0 deletions

View File

@@ -367,6 +367,7 @@ type Import struct {
pathProjectReplaced bool // Set when Path is replaced in project config.
IgnoreConfig bool // Ignore any config in config.toml (will still folow imports).
IgnoreImports bool // Do not follow any configured imports.
NoMounts bool // Do not mount any folder in this import.
NoVendor bool // Never vendor this import (only allowed in main project).
Disable bool // Turn off this module.
Mounts []Mount