package config

// ContentStoreConfig controls dormant native tree runtime wiring.
type ContentStoreConfig struct {
	Enabled        bool
	FilesystemRoot string
}

func loadContentStoreConfig() ContentStoreConfig {
	return ContentStoreConfig{
		Enabled:        boolEnvDefault("MESHX_CONTENT_STORE_ENABLED", false),
		FilesystemRoot: stringEnv("MESHX_CONTENT_STORE_FILESYSTEM_ROOT"),
	}
}
