MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / String

Method String

db/blip_sync_messages.go:349–362  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

347}
348
349func (scm *SetCheckpointMessage) String() string {
350
351 buffer := bytes.NewBufferString("")
352
353 buffer.WriteString(fmt.Sprintf("Client:%v ", scm.client()))
354
355 rev := scm.rev()
356 if len(rev) > 0 {
357 buffer.WriteString(fmt.Sprintf("Rev:%v ", rev))
358 }
359
360 return buffer.String()
361
362}
363
364type SetCheckpointResponse struct {
365 *blip.Message

Callers 1

handleSetCheckpointMethod · 0.95

Calls 3

clientMethod · 0.95
revMethod · 0.95
StringMethod · 0.65

Tested by

no test coverage detected