CV returns the CurrentVersion if available, otherwise returns an empty string.
()
| 134 | |
| 135 | // CV returns the CurrentVersion if available, otherwise returns an empty string. |
| 136 | func (sd *SyncData) CV() string { |
| 137 | if sd == nil { |
| 138 | return "" |
| 139 | } |
| 140 | return sd.RevAndVersion.CV() |
| 141 | } |
| 142 | |
| 143 | // CVOrRevTreeID() returns the CurrentVersion if available, otherwise falls back to returning the RevTreeID or an empty string. |
| 144 | func (sd *SyncData) CVOrRevTreeID() string { |
no outgoing calls
no test coverage detected