Skip to content
This repository was archived by the owner on Oct 14, 2021. It is now read-only.

Commit fcbfe02

Browse files
author
Jeff Verkoeyen
committed
Ignore extensions in output.
1 parent 6977a66 commit fcbfe02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apple/diffreport/diffreportlib/diffreport.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ func extractAPINodeMap(from sourceKittenNode: SourceKittenNode, parentUsr: Strin
257257
if accessibility as! String != "source.lang.swift.accessibility.public" {
258258
continue
259259
}
260+
} else if let kind = sourceKittenNode["key.kind"] as? String, kind == "source.lang.swift.decl.extension" {
261+
continue
260262
}
261263
var node = apiNode(from: sourceKittenNode)
262264

0 commit comments

Comments
 (0)