MCPcopy Create free account
hub / github.com/cockroachdb/cockroachdb-parser / init

Function init

pkg/sql/sem/tree/format.go:885–891  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

883}
884
885func init() {
886 ctx := NewFmtCtx(FmtSimple)
887 if len(ctx.scratch) < uuid.RFC4122StrSize {
888 panic(errors.AssertionFailedf("FmtCtx scratch must be at least %d bytes", uuid.RFC4122StrSize))
889 }
890 ctx.Close()
891}

Callers

nothing calls this directly

Calls 2

CloseMethod · 0.95
NewFmtCtxFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…