Remove unused dialog and finding helpers
This commit is contained in:
@@ -999,10 +999,6 @@ func findings(_ r: Review) -> [JSONDict] {
|
||||
(r.result?.value["findings"] as? [(any Sendable)?] ?? []).map { $0 as? JSONDict ?? [:] }
|
||||
}
|
||||
|
||||
func findingCount(_ r: Review) -> Int {
|
||||
r.state == .done ? findings(r).indices.filter { findingOpen(r, $0) }.count : 0
|
||||
}
|
||||
|
||||
func latestReviewedSnapshot(_ events: ArraySlice<ByreEvent>) -> Int? {
|
||||
var best: Int?
|
||||
for ev in events where isReviewEvent(ev) {
|
||||
|
||||
Reference in New Issue
Block a user