MCPcopy Index your code
hub / github.com/jetify-com/devbox / createIncludableFromPluginConfig

Function createIncludableFromPluginConfig

internal/devconfig/config.go:419–428  ·  view source on GitHub ↗
(pluginConfig *plugin.Config)

Source from the content-addressed store, hash-verified

417}
418
419func createIncludableFromPluginConfig(pluginConfig *plugin.Config) *Config {
420 includable := &Config{
421 Root: pluginConfig.ConfigFile,
422 pluginData: &pluginConfig.PluginOnlyData,
423 }
424 if localPlugin, ok := pluginConfig.Source.(*plugin.LocalPlugin); ok {
425 includable.Root.AbsRootPath = localPlugin.Path()
426 }
427 return includable
428}
429
430func OSExpandIfPossible(env, existingEnv map[string]string) map[string]string {
431 mapping := func(value string) string {

Callers 1

loadRecursiveMethod · 0.85

Calls 1

PathMethod · 0.45

Tested by

no test coverage detected