GetRevTreeID returns the RevTreeID if available, otherwise returns an empty string.
()
| 126 | |
| 127 | // GetRevTreeID returns the RevTreeID if available, otherwise returns an empty string. |
| 128 | func (sd *SyncData) GetRevTreeID() string { |
| 129 | if sd == nil { |
| 130 | return "" |
| 131 | } |
| 132 | return sd.RevAndVersion.RevTreeID |
| 133 | } |
| 134 | |
| 135 | // CV returns the CurrentVersion if available, otherwise returns an empty string. |
| 136 | func (sd *SyncData) CV() string { |
no outgoing calls