isWorkflowSpecFormat reports whether path is a workflowspec-style reference. It delegates to parser.IsWorkflowSpec to keep CLI and parser behavior consistent.
(path string)
| 400 | // isWorkflowSpecFormat reports whether path is a workflowspec-style reference. |
| 401 | // It delegates to parser.IsWorkflowSpec to keep CLI and parser behavior consistent. |
| 402 | func isWorkflowSpecFormat(path string) bool { |
| 403 | return parser.IsWorkflowSpec(path) |
| 404 | } |
| 405 | |
| 406 | // splitImportPath splits "file.md#Section" into ("file.md", "Section"). |
| 407 | // If no "#" is present, returns (includePath, ""). |