equalConciseHeader reports whether a and b are equal for the fields used by printConciseHeader.
(b *NetworkMap)
| 370 | // equalConciseHeader reports whether a and b are equal for the fields |
| 371 | // used by printConciseHeader. |
| 372 | func (a *NetworkMap) equalConciseHeader(b *NetworkMap) bool { |
| 373 | return a.NodeKey == b.NodeKey && |
| 374 | a.GetMachineStatus() == b.GetMachineStatus() && |
| 375 | a.User() == b.User() && |
| 376 | views.SliceEqual(a.GetAddresses(), b.GetAddresses()) |
| 377 | } |
| 378 | |
| 379 | // printPeerConcise appends to buf a line representing the peer p. |
| 380 | // |
no test coverage detected