MCPcopy Create free account
hub / github.com/github/gh-aw / resolveImportInputPath

Function resolveImportInputPath

pkg/parser/import_field_extractor.go:1359–1365  ·  view source on GitHub ↗
(inputs map[string]any, inputPath string)

Source from the content-addressed store, hash-verified

1357}
1358
1359func resolveImportInputPath(inputs map[string]any, inputPath string) (string, bool) {
1360 value, ok := resolveImportInputValue(inputs, inputPath)
1361 if !ok {
1362 return "", false
1363 }
1364 return importinpututil.FormatResolvedValue(value)
1365}
1366
1367func resolveImportInputValue(inputs map[string]any, inputPath string) (any, bool) {
1368 return importinpututil.ResolvePathValue(inputs, inputPath)

Callers 1

Calls 2

FormatResolvedValueFunction · 0.92
resolveImportInputValueFunction · 0.85

Tested by

no test coverage detected