MCPcopy Create free account
hub / github.com/brimdata/super / vectorMessage

Function vectorMessage

db/branch.go:481–492  ·  view source on GitHub ↗
(kind string, ids []ksuid.KSUID)

Source from the content-addressed store, hash-verified

479}
480
481func vectorMessage(kind string, ids []ksuid.KSUID) string {
482 var b strings.Builder
483 b.WriteString("vector ")
484 b.WriteString(kind)
485 b.WriteString("\n\n")
486 for _, id := range ids {
487 b.WriteString(" ")
488 b.WriteString(id.String())
489 b.WriteByte('\n')
490 }
491 return b.String()
492}

Callers 2

AddVectorsMethod · 0.85
DeleteVectorsMethod · 0.85

Calls 1

StringMethod · 0.65

Tested by

no test coverage detected