(fullPath string, content []byte)
| 358 | } |
| 359 | |
| 360 | func extractFrontmatterForImport(fullPath string, content []byte) (*FrontmatterResult, error) { |
| 361 | if strings.HasPrefix(fullPath, BuiltinPathPrefix) { |
| 362 | return ExtractFrontmatterFromBuiltinFile(fullPath, content) |
| 363 | } |
| 364 | return ExtractFrontmatterFromContent(string(content)) |
| 365 | } |
| 366 | |
| 367 | func enqueueNestedImports(frontmatter map[string]any, item importQueueItem, baseDir string, cache *ImportCache, workflowFilePath string, yamlContent string, state *importBFSState) error { |
| 368 | importsField, hasImports := frontmatter["imports"] |
no test coverage detected