Skip to content

Commit ef2afe5

Browse files
committed
print export/redirect counts
1 parent acf890d commit ef2afe5

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Sources/SymbolGraphBuilder/Sources/SSGC.DocumentationSources.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ extension SSGC.DocumentationSources
115115
{
116116
$0 + $1.declarations.reduce(0) { $0 + $1.decls.count }
117117
})
118+
re-exports : \(moduleIndexes.reduce(0) { $0 + $1.reexports.count })
118119
extensions : \(moduleIndexes.reduce(0) { $0 + $1.extensions.count })
119120
""")
120121
}
@@ -169,7 +170,11 @@ extension SSGC.DocumentationSources
169170
Linked documentation!
170171
time loading sources : \(profiler.loadingSources)
171172
time linking : \(profiler.linking)
172-
symbols : \(graph.decls.symbols.count)
173+
symbols : \(graph.decls.symbols.count)
174+
redirects : \(graph.decls.nodes.reduce(0)
175+
{
176+
$0 + $1.exporters.count
177+
})
173178
""")
174179

175180
return graph

0 commit comments

Comments
 (0)