package testconfig

import "github.com/gohugoio/hugo/config/testconfig"

This package should only be used for testing.

Index

Functions

func GetTestConfig

func GetTestConfig(fs afero.Fs, cfg config.Provider) config.AllProvider

func GetTestConfigSectionFromStruct

func GetTestConfigSectionFromStruct(section string, v any) config.AllProvider

func GetTestConfigs

func GetTestConfigs(fs afero.Fs, cfg config.Provider) *allconfig.Configs

func GetTestDeps

func GetTestDeps(fs afero.Fs, cfg config.Provider, beforeInit ...func(*deps.Deps)) *deps.Deps

Source Files

testconfig.go

Version
v0.122.0
Published
Jan 26, 2024
Platform
windows/amd64
Imports
8 packages
Last checked
1 hour ago

Tools for package owners.