(includePath string)
| 161 | } |
| 162 | |
| 163 | func splitIncludePathAndSection(includePath string) (string, string) { |
| 164 | if strings.Contains(includePath, "#") { |
| 165 | parts := strings.SplitN(includePath, "#", 2) |
| 166 | return parts[0], parts[1] |
| 167 | } |
| 168 | return includePath, "" |
| 169 | } |
| 170 | |
| 171 | // processIncludedFile processes a single included file, optionally extracting a section |
| 172 | // processIncludedFileWithVisited processes a single included file with cycle detection for nested includes |
no outgoing calls
no test coverage detected