package testconfig
import "github.com/gohugoio/hugo/config/testconfig"
This package should only be used for testing.
Index ¶
- func GetTestConfig(fs afero.Fs, cfg config.Provider) config.AllProvider
- func GetTestConfigSectionFromStruct(section string, v any) config.AllProvider
- func GetTestConfigs(fs afero.Fs, cfg config.Provider) *allconfig.Configs
- func GetTestDeps(fs afero.Fs, cfg config.Provider, beforeInit ...func(*deps.Deps)) *deps.Deps
Functions ¶
func GetTestConfig ¶
func GetTestConfigSectionFromStruct ¶
func GetTestConfigSectionFromStruct(section string, v any) config.AllProvider
func GetTestConfigs ¶
func GetTestDeps ¶
Source Files ¶
- Version
- v0.144.2 (latest)
- Published
- Feb 19, 2025
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 13 hours ago –
Tools for package owners.