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

Function splitImportPathAndSection

pkg/parser/import_bfs.go:139–145  ·  view source on GitHub ↗
(importPath string)

Source from the content-addressed store, hash-verified

137}
138
139func splitImportPathAndSection(importPath string) (string, string) {
140 if strings.Contains(importPath, "#") {
141 parts := strings.SplitN(importPath, "#", 2)
142 return parts[0], parts[1]
143 }
144 return importPath, ""
145}
146
147func resolveSeedImportPath(filePath, importPath, baseDir string, cache *ImportCache, workflowFilePath string, yamlContent string) (string, error) {
148 fullPath, err := ResolveIncludePath(filePath, baseDir, cache)

Callers 2

seedSingleImportSpecFunction · 0.85
enqueueNestedImportEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected