File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Sources/SwiftDocC/Infrastructure Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -2626,21 +2626,6 @@ public class DocumentationContext {
2626
2626
analyzeTopicGraph ( )
2627
2627
}
2628
2628
2629
- /**
2630
- Unregister a documentation bundle with this context and clear any cached resources associated with it.
2631
- */
2632
- private func unregister( _ bundle: DocumentationBundle ) {
2633
- let referencesToRemove = topicGraph. nodes. keys. filter {
2634
- $0. bundleID == bundle. id
2635
- }
2636
-
2637
- for reference in referencesToRemove {
2638
- topicGraph. edges [ reference] ? . removeAll ( where: { $0. bundleID == bundle. id } )
2639
- topicGraph. reverseEdges [ reference] ? . removeAll ( where: { $0. bundleID == bundle. id } )
2640
- topicGraph. nodes [ reference] = nil
2641
- }
2642
- }
2643
-
2644
2629
// MARK: - Getting documentation relationships
2645
2630
2646
2631
/**
You can’t perform that action at this time.
0 commit comments